On Fri, April 13, 2007 9:15 am, elk dolk wrote: > 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: > [] [] [] [] > [] [] > [] [] > [] > [] [] []
There's no PHP here... But it seems to me that if you actually are doing a grid layout, maybe a TABLE *is* the right HTML to use... Or use CSS to style it as if it were a table, if you're so anti-table that you can't use a table tag. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php