View Single Post
Old 2009-06-03, 09:19 PM   #1
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Solved an age old problem

Or at least one I've been bitching about since the dawn of RSS feeds and that is sponsors who love to use images to big for the post area of my 3 column blog.

PapaGMP can attest that this has been a pet peeve of mine for awhile since I know I've let him know how displeased I was a couple of times.

The fix ended up being a simple little CSS addition.

Code:
img {
        border: 0;
        max-width: 450px;
}
Notice max width sets the maximum horizontal size of the image. Images smaller are unaffected. Those larger are scaled proportionately

Oh and yes, I still do use feeds, just not as blog posts.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote