Why does IE not change the background color on my site for tabs a:hover but does so in Firefox/Chrome/Safari correctly?
What can I do to make it work in IE 6+?
HTML
<ul class="tabbernav">
<li class="tabberactive"><a title="All" href="javascript:void(null);">All</a></li>
<li class=""><a>Tab1<span class="tabTotal"> (0)</span></a></li>
<li class=""><a>Tab2<span class="tabTotal"> (2)</span></a></li>
<li class=""><a>Tab3<span class="tabTotal"> (1)</span></a></li>
</ul>
CSS
ul.tabbernav li a:hover {background:#fdfdfd; border: 1px solid #555; border-bottom: none; color:#3366a9; cursor: pointer}
First thing I’d do is double check that the order of the psuedo selectors is correct.
It should be-
The only specific IE hover issue I remember relates to non-link elements so I don’t think that is your issue. http://www.bernzilla.com/item.php?id=762 – Just in case.
If that doesn’t answer your question do you mind posting the related block of css?
GAH- That was a hard one!
It looks like IE is breaking because the links don’t have an associated Href element. Fix that and you should be fine.
–Breaking News – I may be an idiot- That was the last thing I changed on my test page and that fixed it but when I put it all back together it broke everywhere… so take what I just posted with a grain of salt. I’m backing up to see what happened.