Click to See Complete Forum and Search --> : Photo Gallery - IE vs Firefox Issues


cdp103188
04-12-2009, 08:56 PM
Can someone PLEASE tell me why IE won't display my photo gallery correctly? I did not write this CSS, I got it from a tutorial. I went to w3schools and made sure the CSS was valid before posting this problem.

The photo thumbnails are supposed to be shown in a "block" or a "table" format, which is what happens in Firefox. In IE, however, the thumbnails are displayed as a list with bullets...

Here's the website:
http://www.cpeebles.com/photography/?galkey=2009-04#start

KDLA
04-13-2009, 03:37 PM
Try this (not tested)

#gallery li {
float:left;
display: block;
padding:1em 0 1em 2.1em;
list-style-type: none;
}

#gallery li a {display: block;}

#gallery li a img {
display: block;
border:1px solid #0F0;
padding:.1em;
}