Sent by Gunlaug_Sørtun on 11 December 2007 08:08
Ben Fider wrote:
> This is my first post to CSS Discuss, and I'm paranoid that I didn't
> submit it correctly.
It's all fine ... but IE7 definitely isn't :-)
>> This menu seems to work fine in all new browsers that I've tested
>> with, except IE7.
>> http://fiderweb.com/z/
Looks like a version of IE's old "stuck on :hover" bugs. Seems like the
many old fixes work too, so here it comes...
#nav li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li.sfhover ul,
#nav li li.sfhover ul,
#nav li li li.sfhover ul { /* lists nested under hovered list items */
left:auto;
background-position: 0 0 /* add this line to fix IE7 */;
}
The idea is to give IE/win something to change - even if it doesn't make
sense or really changes anything.
Such a nonsensical "do something/anything" rule in the right place makes
IE/win remember to "unhover".
The fix is tested in IE7 and across the rest of browser-land at my end.
Working just fine.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/