IE7 中的 CSS z-index 问题
我在 IE 7 中遇到 z-index 问题,不知道如何解决。我有一个(superfish 驱动的)下拉菜单,该菜单应该在其下方的横幅顶部滚动。这适用于横幅的一部分,但横幅的一部分(左侧)我将徽标覆盖在横幅顶部 - 在该区域中,退出菜单位于徽标图像后面。我在 IE7 以外的任何浏览器中都没有遇到此问题 - 谁能看到这里发生了什么?谢谢...
[截取的网址]
I have a problem with z-index in IE 7 and can't figure out how to solve it. I have a (superfish powered) dropdown menu which should roll out over the top of the banner below it. This works for part of the banner, but there is a section of the banner (on the left) where I have the logo overlaid on top of the banner - in this area, the dropout menu sits behind the logo image. I don't have this issue in any browser other than IE7 - can anyone see what is going on here? Thanks...
[Snipped url]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
IE6 和 7 有一个 z-index 错误,其中每个定位元素都会创建自己的 z-index 堆栈。尝试将
position:relative
和z-index: 200
添加到导航的父级 (#menu
)。IE6 and 7 have a z-index bug where each positioned element creates its own z-index stack. Try adding
position: relative
andz-index: 200
to the parent of the navigation (#menu
).