ITeye博客

div覆盖select(IE6)

cary1130 · 2009-11-11 16:23 · others · HTML · Windows · UP · jQuery · IE · Markdown

最近碰到个问题,到处查找,最终得到解决,现记录下。 问题:在IE6(更高版本的IE中无此问题)中DIV层被select给覆盖。 解决:使用frame作为垫板,代码示例如下 [code="html"]

A Select Box is Born ....

.... and a DIV can cover it up
through the help of an IFRAME.

Click to show DIV.

Click to hide DIV. [/code]

评论(2)

  1. #2 楼 · 你是救世主 · 2010-04-30 15:54

    同时也可以使用jquery的show hidden 方法很方便的解决。

  2. #1 楼 · 你是救世主 · 2010-04-30 14:52

    http://blogs.msdn.com/ie/archive/2006/01/17/514076.aspx 为什么不能解决

    select 就是一个windows的对象。总是付在内容的上面。 不可以解决。

评论功能维护中,当前仅展示历史评论。