简体   繁体   中英

How to fix HTML z-index layer ordering in IE7?

I have a popup that is displayed above the link when I hover over a link. There is an image just above the link so the problem is that in ie7 the popup is appearing under the image. It works well in IE8 and Firefox.

The problem that I want to fix is found on this page: http://www.kandscars.com/servicecontracts.php . If you hover over "Class One" then hover over "Cars In This Class".

I did some debugging and it turns it's the opacity filter for IE on the <div class="cover boxcaption"> that's causing the cut off, not the image.

I couldn't get it working with the filter applied so the only thing I can suggest that will fix it is to use a semi-transparent background png instead of using css to apply the transparency.

You need to set the z-order to 1 in the css class of the popup. I found the same problem a couple of months ago!

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