简体   繁体   中英

CSS Dropdown menu cutoff by container in IE9

I have a very similar problem to this post:

CSS Flyout menu gets cut off by borders of its container in IE9

The difference is that in my case I need to have the z-index (and therefore position) set on the container. You can see my JSFiddle here:

http://jsfiddle.net/qbaH9/4/

In the full layout there is an element that I "slide under" the header by adding z-index: 100 to the header, as you can see in this image .

How do I keep the z-index set on the header, and also make sure the dropdown isn't cutoff in IE9?

Remove position: relative from the .main-header .

http://jsfiddle.net/qbaH9/3/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM