I have the following style rules:
.twoColFixRt #nav-primary .nav li a,
.twoColFixRt #nav-primary .nav li a:visited {
color: #00ff00;
text-decoration: none;
}
.twoColFixRt #nav-primary .nav li a span {
display: block;
padding: 0 10px;
font-size: 15px;
}
.twoColFixRt #nav-primary .nav li a:hover {
text-decoration: underline;
color: #ff0000;
}
Q1> I don't know why the a:hover
in above code doesn't work. In other words, when the cursor is on top of the navigation item, the underline doesn't show up.
However, I do see the changes of the color when I hover the cursor over the navigation items.
Q2> I am using DW CS4 + Firebug. Is there a way that I can detect which rule suppresses a:hover
so that I can figure out similar issues in the future?