Reputation: 219
nav ul li:hover
{
background:yellow;
}
The above code works fine in all the brosers except IE. Any help would be appreciated!
Upvotes: 1
Views: 75
Reputation: 241078
In theory, nav ul li:hover
should work in all browsers (example)
That only assumes there isn't any other CSS. Without knowing what the markup looks like though, you could try targeting the descendant anchor elements:
nav ul li a:hover {
background:yellow;
}
Upvotes: 1