Re: IE6 & PHP

From: Date: Fri, 13 Apr 2007 22:48:30 +0000
Subject: Re: IE6 & PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-252909@lists.php.net to get a copy of this message
elk dolk wrote:
Hi all, I have a bunch of thumbnail images that link to larger versions of the images and want to line them up in rows across the screen , using CSS I put them into a separate DIV. To get them to line up horizontally across the window I use CSS to FLOAT each DIV to the left, CSS looks like this: div.float {
    float: left;
} and the HTML : <div class="float"><img src"image.jpg".../><br /></div> Firefox and Netscape show the thumbnails in rows like this: [] [] [] [] [] [] [] [] [] [] [] [] but in IE6 there is a problem , the first row is O.K. but the second ant the third rows are not O.K. it looks like this: [] [] [] [] [] []
      [] []
[] [] [] [] please comment
       ---------------------------------
Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. try adding
clear: left; to that css bit div.float { clear: left; float: left; } This should make the top of all images, on each row, the same -- Enjoy, Jim Lucas Different eyes see different things. Different hearts beat on different strings. But there are times for you and me when all such things agree. - Rush

« previous php.general (#252909) next »