Css for image max-width

Questions, comments, and suggestions about this site should go here.
Post Reply
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Css for image max-width

Post by bubach »

I'd love for someone with server access (@chase ?) to add this CSS to the Megatokyo forum-style, attached images in the screenshot thread is breaking the page layout for all the uncropped 50K resolution stuff you guys keeps posting. :wink:

Code: Select all

image {
    max-width: 100%;
}
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
eekee
Member
Member
Posts: 872
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: Css for image max-width

Post by eekee »

I half-way agree; the difference being different themes handle images differently. I'm using SFCentar which doesn't shrink images, but doesn't allow them to break the layout either. It has rather poor icons, though.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Post Reply