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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php