Michael Schmidt
Michael Schmidt

Reputation: 9230

Dropdown Menu Bug in IE8 with PrimeFaces

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.

Screenshot from the buggy Dropdown Menu
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

Answers (1)

user2074884
user2074884

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

Related Questions