Reputation: 9230
I've a site with primefaces, which have a dropdown menu in the navigation. In Chrome, FF etc. it works well, but in IE (testet with IE8), the dropdown menu expand under the content.
Green: Navigation
Blue: Content
Red: The Dropdown menu
How can i fix this bug? It must work in IE8!
What i've already tried:
added in the navigation.css
the following statement.
.ui-menu .ui-menu-parent .ui-menu-child{
z-index:100;
}
Upvotes: 0
Views: 593
Reputation:
I am afraid that solution depends on your html structure. Are the green and blue elements on the same level?
Try increasing z-index
on the green element.
Also if thats possible try giving the green element position:relative;
Upvotes: 1