Fix for IE where child items appear behind its parent's sibling
Last updated on
30 April 2025
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
In this example,
<ul>
<li>item1
<ul>
<li>child-item</li>
</ul>
</li>
<li>item2</li>
<ul>
viewed in IE, the child-item can appear underneath item2 due to the way IE interprets z-index.
Adding this fixed it for me:
ul.nice-menu li.over {
z-index:6;
}
(Use a value of 6 because the regular nice-menus CSS declares z-index 5 for "ul.nice-menu" and "ul.nice-menu ul")
(Originally posted by seutje - September 17, 2008 - 08:56)
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion