OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 10:43 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: 1223
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: 812
Location: Hyperspace
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


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 8 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