IE6实现PNG图片透明
#mailDiv {
height: 128px;
width: 128px;
padding: 0px;
background-repeat: repeat;
}
html>body #mailDiv {
background-repeat: repeat;background-image: url(mail.png);
}
* #mailDiv {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="mail.png")
height: 128px;
width: 128px;
padding: 0px;
background-repeat: repeat;
}
html>body #mailDiv {
background-repeat: repeat;background-image: url(mail.png);
}
* #mailDiv {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="mail.png")
}
参考:http://www.cnblogs.com/yeer/archive/2009/04/27/1444686.html