Sub Nav doesnt appear over the image in ie7

我们两清 提交于 2020-04-30 12:28:17

问题


This is possibly the most irritating thing ever.

I've spent a long long time troubleshooting to this to no avail, so please someone help put me out of misery!!

I'm trying to float the sub nav under products over the image below in IE7. Easy? NOPE!


回答1:


  • On #menu ul, remove position: relative.
  • On #header, remove position: relative, and add some high z-index value.
    I tested it with z-index: 300.

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



来源:https://stackoverflow.com/questions/5306412/sub-nav-doesnt-appear-over-the-image-in-ie7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!