css - IE7 中的问题可能是 z-index 错误

标签 css internet-explorer

我在主导航中的 Recipes 链接上添加了一个下拉菜单。

测试网址:http://jaspreetkaur.com/makebathsalts/

它在除 IE7 之外的所有浏览器中工作正常(未在 IE6 中测试)

菜单在 IE7 中位于横幅区域后面,我认为这与 IE7 的 z-index 错误有关。我在下一页找到了一些细节,但无法解决这个问题。 IE7 Z-Index Layering Issues

最佳答案

你需要这个:

#navigation{position:relative;z-index:10;}

关于css - IE7 中的问题可能是 z-index 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9885713/

相关文章:

css - IE7/8 和 Goldilocks Approach(响应式网页设计)不能一起工作

css - 定位子 div 后展开或折叠父 div

javascript - 缓存刷新页面后 Bootstrap 工具提示不起作用

jquery - Bootstrap 响应式网格不起作用

css - 在 IE 中更改选项文本颜色

javascript - Videojs 无法在 IE 9 及更高版本中工作

html - 为什么将 h1 和 p 设置为 2em(字体大小 : 2em) when em is the units of x times of the font size

javascript - 禁用除第一行以外的所有行,并在上面的行充满数据时启用每一行

javascript - Internet Explorer Canvas 在多个绘图上出现 Canvas 问题?

javascript - 如果用户使用 Internet Explorer 10 或更高版本,则更改 CSS 类