PDA

View Full Version : CSS navigation spacing


username
07-31-06, 01:36 AM
Hello. Just have a question regarding css. I am having a problem with spacing between my cattree navigation links. In Firefox/Netscape, the spacing is correct but in IE, they have a little bit of space between the links. The site is located at http://evergreensalesusa.com/mm5/merchant.mvc?

Pasted below is my css for the cattree.subcatnav {
width: 150px;
margin: 0;
padding: 0;
text-indent: 10px;
}
.subcatnav ul {
margin: 0;
padding: 0;
list-style-type: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffffff;
text-indent: 10px;
}
.subcatnav li {
margin: 0;
padding: 0;
list-style-type: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ffffff;
text-indent: 10px;
}
.subcatnav a {
display: block;
margin: 0;
padding: 0;
width: 150px;
background-color: #00283E;
text-indent: 10px;
}
.subcatnav a:link, a:visited {
color: #ffffff;
margin: 0;
padding: 0;
text-decoration: none;
text-indent: 10px;
}
.subcatnav a:hover {
background-color: #006633;
margin: 0;
padding: 0;
color: #ffffff;
text-indent: 10px;
}

Dave Slifka
07-31-06, 10:35 AM
Try setting a line-height within the [ .subcatnav li ] block

username
07-31-06, 02:07 PM
Dave. You are now one of my Miva gods. It worked great! Been trying to find a solution for days now! Thanks!

Dave Slifka
07-31-06, 02:37 PM
Pleasure :-]

mattgar
03-09-07, 10:47 AM
Armer... Where does this CSS script go--into the cattree template? I'd like to modeify your CSS to get a similar affect on my menu.

Thanks... Matt