Results 1 to 4 of 4

Thread: Horizontal thumbnail placeholders?

  1. #1
    Join Date
    Apr 2008
    Posts
    109
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Horizontal thumbnail placeholders?

    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!


    Cheers,
    Bassa

  2. #2
    Join Date
    Oct 2008
    Location
    London, UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try putting them all within another div, almost like a thumbnail container. Making sure to set a total width and height.

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    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.

  4. #4
    Join Date
    Apr 2008
    Posts
    109
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Yeah, lol.

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

    Code:
    float: left;
    Is all that was needed.

    Thanks, guys!


    Cheers,
    Bassa

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •