ie6如何显示透明图片

<style type="text/css">
#a{
width:128px;
height:128px;
background:url(1.png) no-repeat 0 0;
background:none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='1.png',sizingMethod='crop');
}
img{
_display:none;
}
</style>

</head>

<body>
<div id="a"><img src="1.png" /></div>
</body>
</html>

posted @ 2011-05-29 10:41  红色曼陀罗  阅读(279)  评论(0编辑  收藏  举报