Z-Index IE bug fix?

2019-01-26 09:38发布

Does anyone know of a working fix for the ie z-index bug? I have come across a few solutions but interested to see if anyone here knows of a better fix.

Thanks!

5条回答
来,给爷笑一个
2楼-- · 2019-01-26 10:20

Make sure your browser is not in compatibility mode! I was at work, and IE automagically set my browser to "Display intranet sites in compatibility mode". I used the following meta-header to override this ridiculous setting:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
查看更多
祖国的老花朵
3楼-- · 2019-01-26 10:21

I used the jQuery bgiframe plugin suggested by Honesty, and added a conditional comment to keep it from loading for other browsers.

This post has more helpful info on implementing it.

查看更多
forever°为你锁心
4楼-- · 2019-01-26 10:30

Depending upon what you are trying to do, there might not be an easy fix. Here is a good discussion of some of your options, including cases that are not easily handled.

查看更多
萌系小妹纸
5楼-- · 2019-01-26 10:30

If your problem is about IE 6 select element z-index problem , and you happen to use jQuery for development, then you may try the convenient jQuery bgiframe plugin to solve it. :p

查看更多
倾城 Initia
6楼-- · 2019-01-26 10:37

If you mean the problem of IE6 not respecting the z-index on select controls, then yes.

There is also a few others. I think the best method is to inform the users that IE6 has been replaced and that they would be better off using IE7, FF, or another recent browser verison, or direct them to the MS article explaining the problem and their courses of action.

You may not have this luxury, in which case, you should try using the select free or a few others that turn up in google results. It sucks, but you will have to try one of them.

查看更多
登录 后发表回答