Hi,
You need to clear the default padding and margins from the ul. You also need to specify the correct width.
Code:
#nav {
padding: 0;
margin: 0;
width: 151px;
background-color: #B1D7C3;
text-align: left;
float: left;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #000;
}
ul#navlist {margin:0;padding:0}
#navlist { width: 151px; margin:0; }
#navlist li {
border-bottom: solid #50CB90 1px;
display: block;
text-align: left;
padding: 0;
margin:0;
list-style: none;
line-height:25px;/* for ie's gap under list*/
}
#navlist a {
margin: 0;
padding-left : 12px;
display: block;
background: #3BA773;
color: #000;
text-decoration:none;
border:0;
list-style: none;
width: 139px;
}
* html #navlist a{width:151px;w\idth:139px}/* box model hack*/
#navlist li a:hover {
background-color: #348E63;
color: #fff;
}
Paul
Bookmarks