css - 子导航不会出现在 ie7 中的图像上

标签 css internet-explorer internet-explorer-7 z-index internet-explorer-6

这可能是有史以来最令人恼火的事情。

我花了很长时间对此进行故障排除无济于事,所以请有人帮助我摆脱痛苦!!

我试图在 IE7 中将产品下的子导航 float 到下图中。简单的?不!

最佳答案

  • #menu ul 上,删除 position: relative
  • #header 上,删除 position: relative,并添加一些高 z-index 值。
    我用 z-index: 300 测试了它。

See this previous answer of mine for further information about the nature of the bug.

关于css - 子导航不会出现在 ie7 中的图像上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5306412/

相关文章:

javascript - 更改网站中所有页面的样式

javascript - 如何添加简单的图片上传功能?

asp.net - z-index 问题 Internet Explorer 兼容模式和 7

css - MS IE 7 中的圆 Angular

html - 将鼠标悬停在内容上时,IE7 鼠标悬停导航 block 消失

css - 公司蓝色 CSS 菜单

javascript - 按容器更改字体大小

css - 如何在ie8中对同一个div同时使用阴影和不透明度

javascript - 文件下载在 IE 浏览器中无法按预期工作?

javascript - 在 Internet Explorer 中添加对隐藏元素的选择会引发错误