Thanks for the reply David, I did take the html comments out of the style declarations and no change in behavior.
However, in playing with this a bit more today, I found that if I apply the background to the list item *link* instead of the list item itself, the problem goes away. See here: http://averra.com/clientTest2/index2.html I guess this is a bug in current IE7 and I have sent this reply so anyone else that comes across this problem will know a workaround. Now, I just need to apply to the client's *real* site. Cheers! Janice On Feb 17, 2007, at 7:40 PM, david wrote: > Janice Tocher wrote: >> Sorry for the 'repost' but wondering if anyone has a clue as to the >> 'why' of what's happening with my css menu on IE7 and any suggestions >> for a 'what's to do'... >> >> Thanks! >> Janice >> >> ====================== >> >> I am experiencing a *very* odd issue with suckerfish menus in IE7 >> (and apparently only IE7). >> >> http://averra.com/clientTest2/ >> >> (stylesheet embedded with page) >> >> The menus behave just fine when the page is loaded. However, when you >> click the background and then hover over the menu items. Then, the >> nested list items remain revealed and don't snap back. >> >> I've tracked down the problem to assigning background colors for the >> list items >> >> e.g., >> >> li.managementstrategy { >> background: red; >> } >> >> If I remove the background declaration, everything seems to work ok. >> However, because this site is styled with themed colors (and, I am >> actually using a background image for the menu items), I *must* be >> able to assign a background to each top level menu. >> >> Has anyone else encountered this bug? Is there a workaround or cure? >> >> Thanking you in advance for any input. >> >> Cheers! >> Janice > > Only comment the CSS validator has to say is "Do not put style rules > inside HTML comments as they may be removed by user agent". Perhaps > IE7 > is doing something unexpected along those lines? > > -- > David > [EMAIL PROTECTED] > authenticity, honesty, community > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > IE7 information -- http://css-discuss.incutio.com/?page=IE7 > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
