为什么我的CSS下拉菜单打开后面的一个DIV在IE7? [英] Why is my CSS drop-down menu opening behind a DIV in IE7?
本文介绍了为什么我的CSS下拉菜单打开后面的一个DIV在IE7?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这个问题一直困扰着我。
This issue has been stumping me.
这只会发生在IE7。
This only happens in IE7. I saw some similar subjects, and tried the solutions, but couldn't get them to work.
有什么想法吗?
谢谢!
推荐答案
查看:分层问题
一般的想法是poke
(通常删除它)和
的父元素上的位置:
relative
z-index
我不是在开玩笑 position:relative
。
您显然已经阅读了您遇到的问题并尝试了解决方案;我可以看到 z-index
分散在各种元素上。
You've obviously already read up on the problem you're experiencing and tried out the solutions; I can see z-index
scattered around on various elements.
还有一步>修复IE7中的下拉菜单:
There's one more step to fix the dropdown to work in IE7:
- 从
#content
position:relative
。
- From
#content
, removeposition: relative
.
这篇关于为什么我的CSS下拉菜单打开后面的一个DIV在IE7?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文