•  
Posts Tagged ‘width’

Sick of images being to large for the content area?

By Austin On March 26, 2009 6 Comments

Have you ever uploaded an image that might have been a tad bigger than the width of your content area? I know I have! So here is a little CSS fix to handle these situations.

Resize those large images using CSS

Resize those large images using CSS

.post img { max-width: 600px; height: auto; }

That’s it, really simple huh. Just make sure that you change the .post to the correct body class(which starts with a “.“) or body ID(which starts with a “#“).

Would you like a quick explanation?
The CSS is just

Click here to continue reading