这可能是有史以来最令人恼火的事情。
我花了很长时间对此进行故障排除无济于事,所以请有人帮助我摆脱痛苦!!
我试图在 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/