Forum Moderators: not2easy
But here's another one.
Alright. When you hover the nav links in firefox, the padding is applied ( thats what I want ), but in IE the background is wrapped around the text only. How can i solve that?
I tried adding the padding and the background to li:hover but that didnt work either.
Anyone? :)
[edited by: jatar_k at 7:14 pm (utc) on Sep. 15, 2007]
[edit reason] no urls thanks [/edit]
#nav ul li a, #nav ul li a:active, #nav ul li a:visited, #nav ul li a:link {
font-family:arial narrow;
font-size:11px;
text-decoration:none;
color:black;
padding: 5px 10px 30px 10px;
display:inline-block;
}
#nav ul li a:hover {
background:#333;
padding: 5px 10px 30px 10px;
/*margin-bottom:30px; REMOVE MARGIN-BOTTOM */
display:inline-block;
}
Marshall
[edit]
Didn't try it in FF. May have to be conditional comment.
[/edit]
[edited by: Marshall at 1:55 pm (utc) on Sep. 15, 2007]