Weird IE7 List Indent Problem
For some reason, my first li in my nav is not responding to the negative margin I set for it. All the others are. I haven't been able to figure it out.
http://www.laserdocs.com/new/index.asp
PHP Code:
#nav {
width: 170px;
height: 240px;
background-color: #9BD1EE;
margin-left: auto;
margin-right: auto;
}
#nav ul {
list-style-type: none;
padding-top: 8px;
}
#nav li {
width: 170px;
height: 39px;
list-style-image: none;
margin-left: -35px;
margin-bottom: -10px;
background-image:url(images/nav_button.gif);
background-repeat:no-repeat;
padding-left: 10px;
}
#nav li a, #nav li a:visited {
color: #000033;
font-size: 9pt;
text-decoration: none;
font-weight: bold;
}
#nav li a:hover {
color: #990000;
text-decoration: underline;
}
#navbottom {
height: 15px;
margin-left: -3px;
margin-top: -10px;
}
PHP Code:
<ul>
<li><a href="massachusetts_tattoo_removal.asp">Tattoo Removal</a></li>
<li><a href="http://www.thesnoringcenter.org">Snoring Treatment</a></li>
<li><a href="massachusetts_vein_treatment.html">Leg Vein Treatment</a></li>
<li><a href="massachusetts_vein_treatment.html">Facial Vein Treatment</a></li>
<li><a href="massachusetts_wrinkle_treatment.html">Wrinkle Treatment</a></li>
<li><a href="massachusetts_cosmetic_surgery.html">Cosmetic Surgery</a></li>
<li><a href="massachusetts_cosmetic_surgeons.html">Meet the Doctors</a></li>
<li><a href="contact.asp">Contact Us</a></li>
</ul>
Can anyone see where I've gone wrong?
Now IE 6 has the same problem...
Hmmm...min-height didn't fix IE 6. Any suggestions?