Log in

View Full Version : Horizontal thumbnail placeholders?



bassa
10-19-2008, 01:03 PM
I've been trying everything now, and no matter what I do I just can't these thumbnail placeholders to line up horizontally.

Here's a link to the layout:

http://www.froso.dk/test/index.html

Does anyone know how to get these Div ID thumbnail containers to sit beside each other horizontally, rather than vertically?

Argh! :mad:


Cheers,
Bassa

BBarash
10-19-2008, 01:22 PM
Try putting them all within another div, almost like a thumbnail container. Making sure to set a total width and height.

traq
10-19-2008, 03:40 PM
try adding "float: left;" to the css for each thumbnail div.

also your thumbnail divs all have the same id ("thumbnail"), and that may cause problems too (all id's must be unique). change "thumbnail" to a div class instead of an id.

bassa
10-19-2008, 08:59 PM
Yeah, lol.

I have no idea how I forgot to add that one simple line;


float: left;

Is all that was needed. :)

Thanks, guys!


Cheers,
Bassa