[SOLVED] Layout issue with menu CSS hover style
Posted: Tue Dec 18, 2007 10:18 pm
I've modified the menu style sheet quite a bit, but there is one issue that I've never been able to figure out.
Instead of having a background color on hover, I simply want the text to be underlined.
I can get this to work fine, except on the third level of the menu (or 2nd drop down tier) all the items are underlined. What's strange is that it works fine if I set it to background color instead of underline.
Here's the CSS where it's specified.
Does anyone have any insight on this?
I should add, that these selectors are from the CSS menu template from CMSMS.
Instead of having a background color on hover, I simply want the text to be underlined.
I can get this to work fine, except on the third level of the menu (or 2nd drop down tier) all the items are underlined. What's strange is that it works fine if I set it to background color instead of underline.
Here's the CSS where it's specified.
Does anyone have any insight on this?
Code: Select all
/* Styling the apperance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
text-decoration: underline;
}