OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Nov 28, 2020 5:41 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Css for image max-width
PostPosted: Sat Aug 22, 2020 11:00 pm 
Offline
Member
Member
User avatar

Joined: Sat Oct 23, 2004 11:00 pm
Posts: 1222
Location: Sweden
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:
image {
    max-width: 100%;
}

_________________
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub


Top
 Profile  
 
 Post subject: Re: Css for image max-width
PostPosted: Mon Nov 02, 2020 3:27 pm 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 388
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 link pending. code pending. design pending. plans in a state of flux! everything pending! choice of language still up in the air! why is nothing coming together?!?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group