<div style="z-index:1000">ie6以上不会被挡住

解决方案 »

  1.   

    <OBJECT id=aa style="display:none;z-index:1000; position:absolute; top:0; left:0; width:152; height: 200;" type="text/x-scriptlet"  data="
    about:<div style='position:absolute;left:0;top:0;width:152;height:200;font:14;color:white;background:black;border:1 solid black'>
    sfgsdfg</div>
    "></OBJECT><textarea></textarea><button onclick=aa.style.display=aa.style.display=="none"?"":"none">test</button>
      

  2.   

    //帮我在ie5下测试下面的程序,看看问题有没有解决?根据楼上的。
    <html>
    <body>
    <OBJECT id=aa style="display:none;z-index:1000; position:absolute; top:0; left:0; width:152; height: 200;" type="text/x-scriptlet"  data="
    about:<div style='position:absolute;left:0;top:0;width:152;height:200;font:14;color:white;background:black;border:1 solid black'>
    sfgsdfg</div>
    "></OBJECT><iframe width=300 height=400 src="dd.htm"></iframe><button onclick=aa.style.display=aa.style.display=="none"?"":"none">test</button>
    </body>
    </html>