Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   Solved an age old problem (http://www.greenguysboard.com/board/showthread.php?t=53019)

walrus 2009-06-03 09:19 PM

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.

Cleo 2009-06-03 11:04 PM

Hopefully your IE surfers will have version 7 or above.

walrus 2009-06-03 11:15 PM

Quote:

Originally Posted by Cleo (Post 453180)
Hopefully your IE surfers will have version 7 or above.

If not, then the pictures just overlap the sidebar a bit. Like I said I don't build blogs from feeds, just a few relevant pages


All times are GMT -4. The time now is 03:55 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc