没有知道?
不要FILTER: alpha(OPACITY=50);这样它里面的图片也会被透明的

解决方案 »

  1.   

    <div style="width:50;font:20;z-index:2;background-color:#ff0000;position:absolute;" onclick="this.style.backgroundColor=''">abc</div>
    <div style="z-index:1;top:5;position:absolute;">asdgsdfasdfasdfasdfasdf</div>
      

  2.   

    liuzxit的主意不错,去掉背景色即可
    <body bgcolor=green>
    <div style="width:50;font:20;z-index:2;background-color:#ff0000;position:absolute;" onclick="this.style.backgroundColor=''">abc</div>
      

  3.   

    解决了吗? 你门实验过了吗?你们的办法不行!不设置背景就是透明的! meizz说的对,我现在本来不是透明的,要在runtime时动态设置为透明的。我已经研究出来了,正确的做法:
    div_1.style.removeAttribute('backgroundColor');搞定了!
      

  4.   

    哦, 哦,原来..backgroundColor = ''是可以的,哈哈,对不起,是我自己弄错了!