Hi all

After getting such a quick response last time, I'm in need of help again!

I'm putting together a thumbnail gallery and was just testing it with some
html code and for some reason I just can't figure out, when I give my ul a
background (all the thumbnails are li's in a ul), it just doesn't seem to
encompass the full ul! It captures the first 6 thumbnails but not the last
row!

The url is here, but please forgive, everything else that's in the wrong
place, I was just playing around:
http://www.gofair.dreamhosters.com/final/album_display.html

The css I'm using can be found at:
http://www.gofair.dreamhosters.com/final/css/gallery_styles.css

The relevant bit is:
#thumbnails {padding:20px; background:#222; width:600px; height:330px;
text-align:left; position: relative;
border: 1px solid black;}

#thumbnails ul {list-style:none; padding:0; margin:0; width:216px;
height:144px; background-color:#333; border:1px solid #666;
position:relative; }

#thumbnails ul li { /* should be fine - establishes fixed size for each
thumbnail area, no need for individual divs */
display:inline;
width:60px;
height:60px;
float:left;
margin:6px;
}

Is this because my images are floated? I didn't think this mattered in a ul!

This is adapted from a gallery on cssplay.co.uk


Thanks again :)
Ines
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to