首页 新闻 会员 周边

关于IE6下透明问题?

1
悬赏园豆:10 [已关闭问题] 关闭于 2011-09-08 20:35
<div iclass="divTest">
<div class="divChild"></div>
<img src="demo_files/sago.jpg" width="300" height="200" class="childImg" />
</div>
.divTest{width:300px;height:200px;position:relative;}
.divChild
{width:300px;height:200px;position: absolute;top:0px;left:0px;filter:alpha(opacity=50);opacity:0.5;background-color:white; z-index:100;}
.childImg
{top:0px;left:0px;position:absolute;z-index:1;}

请问为什么在IE6下没有透明的效果

々孤星☆泪♂的主页 々孤星☆泪♂ | 初学一级 | 园豆:13
提问于:2011-07-14 00:04
< >
分享
所有回答(1)
0

需要设置filter效果

LoveJenny | 园豆:532 (小虾三级) | 2011-07-14 06:31
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册