Theresa Newman wrote: > thank you so much for this article, it demostrates teh exact problem but, > I'm afraid, does not make it very clear what the exact problem is and what > the best solution is. Can anyone offer the reason this is happening and the > best solution? I see Alan has a long list of fixes, do any one of these work > or are they to all be used? > > thanks so much > Theresa
The reason it happens is because of IE7 incorrectly offsets left:auto. <http://css-class.com/test/bugs/ie/calculated-offset-bug2.htm> Because IE7 does not offset left:auto correctly, IE7 is in two minds where such sub-menus should appear when we hover a <li>. <http://css-class.com/test/bugs/ie/recalculatedoffsetbug.htm> The easiest way to overcome this is to give a percentage. http://css-class.com/articles/explorer/sticky/stickybug4.htm Other options is to use one of the 24 fixes that are available in the table on this page. Only one is needed. <http://css-class.com/articles/explorer/sticky/> Note, the position:relative fix does not work for the vertical Suckerfish menu which you linked to. I really do need to update my article. -- Alan http://css-class.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/