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")

 

参考:http://www.cnblogs.com/yeer/archive/2009/04/27/1444686.html 
 

posted @ 2012-09-05 11:36  nikytwo  阅读(197)  评论(0编辑  收藏  举报