Web Hosting Talk







View Full Version : Can css do this...


sllik
05-30-2006, 06:53 PM
I need to display about 50 thumbnails and thumbs may differ in height but the width is known. How would I display them row by row without a set number of thumbs per row (the number of thumbs per row depends on the width of the browser) and without a set row height (the row should be the height of the tallest thumb). Plus under each thumb there needs to be a caption (some text).

Is this even possible? If so how?

Thanks.

Kalyse
05-30-2006, 06:55 PM
Okay, well just create a container for them to all fit in,

set that to 100% width.

This means you can position it all easier. Anyway, from here just add all of your images with float:left property on them.

You will get some clearing problems but just google and you can fix them.

stripeyteapot
05-30-2006, 07:21 PM
Nevermind, not helpful delete this :D