问题
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
, removeposition: relative
. - On
#header
, removeposition: relative
, and add some highz-index
value.
I tested it withz-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