Log in

View Full Version : Image Gallery: Looks Different in IE & FF



jihanemo
11-10-2008, 12:46 PM
Another darn IE and FF problem - http://americanchic.net/testpage In IE, you'll see that there is a considerable amount of extra space between the edge of the table and the first "1" thumbnail. I need to get rid of that extra space. This page uses an external style sheet. What's causing this and how can I fix it?

Snookerman
11-10-2008, 04:15 PM
Remove this from your css:

<style type="text/css">
#myul{list-style-type:none;padding-left: 0px;}
}
#myul li{margin:0px;float:left;}
#myul img{
margin:7px;
float:left;
border:1px solid #222;
width:80px;
height:67px;
cursor:pointer;
}
#default{
width:280px;
height:280px;
}
</style>

And change your list into this:

<div id="myul"><img src="testpage_files/1.jpg" alt="myimage"><img src="testpage_files/2.jpg" alt="myimage"><img src="testpage_files/3.jpg" alt="myimage"></div>