当前位置: 动力学知识库 > 问答 > 编程问答 >

internet explorer - 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.


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;

}

网友答案:

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;

分享给朋友:
您可能感兴趣的文章:
随机阅读: