While working on latest version of ADxMenu styles, I encountered another ugly IE7 bug.
.menu li { z-index: 5; } .menu li:hover { z-index: 10000; }
This does not work in IE7 — it will not re-render the page. Here’s the example showing this problem.
update: David Hucklesby points to solution: IE needs a “nudge”, direction:ltr works. As well as a lot of other rules.





I wonder if this is the old IE “:hover” problem, where IE 5/6 needed a “nudge” to recognize a change? The old bug was only on links, of course, but required a property on :hover that does not appear on the (non-hovered) element. This came up with Eric Meyer’s “Pure CSS popups” and may or may not be related.
There are several properties you can try. Off the top of my head, I seem to remember that background-position: 0 0; or direction: ltr; work, among others.
David da man!
Many thanks, it is that same bug.
Thank you David.
I can’t tell you how many hours I’ve been beating my head against this problem to no avail. A quick “direction:ltr;” and everything’s working *as it should*.
If only the gormless mob from Seattle delivered working code — only when hell freezes over.….
Thanks. Helpful for me too. I was about to say: F U IE> and never look back. lol.
I want to thank you for the little trick (hack really) for the IE7 bug. I couldn’t understand why IE7 was not displaying my li a:hover background color. It would display the text-color change, but not the background change (tab effect). A quick direction:ltr fixed it.
Thanks,
Holy cow! This one saved my ass.. i was just about to give up.. thanks a lot.. i wonder if this works on ie6 too..