How to solve the select overlap bug in IE6?

后端 未结 10 1506
别跟我提以往
别跟我提以往 2021-02-02 09:43

When using IE, you cannot put an absolutely positioned div over a select input element. That\'s because the select element is considered an ActiveX object and is on top of every

10条回答
  •  一个人的身影
    2021-02-02 09:58

    I don't know anything better than an Iframe

    But it does occur to me that this could be added in JS by looking for a couple of variables

    1. IE 6
    2. A high Z-Index (you tend to have to set a z-index if you are floating a div over)
    3. A box element

    Then a script that looks for these items and just add an iframe layer would be a neat solution

    Paul

提交回复
热议问题