thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

Menu highlighting doesn't work reliably in IE6 #298

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In some menus items are not highlighted correctly in IE6, that is they get 
highlighted only when mouse points exactly on item label.
In Simple Menu demo two menus are affected. MenuButton is affected as well.

Original issue reported on code.google.com by mieli...@gmail.com on 26 Mar 2011 at 9:13

GoogleCodeExporter commented 8 years ago
IE6 only supports the :hover CSS modifier on a few HTML elements, such as <a>.

If you assign the style to the goog-menuitem-highlight CSS class, it will 
appear correctly in IE6.

Original comment by pall...@google.com on 27 Mar 2011 at 7:59

GoogleCodeExporter commented 8 years ago
:hover modifier is not being used by MenuItem. However adding the following CSS 
rule does the trick for me:

.goog-menuitem {
  position: relative; /* w/a for IE6 menu item highlighting issue */
}

Original comment by mieli...@gmail.com on 28 Mar 2011 at 5:13