方案一
ie滤镜:
_background:none; _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="filename.png" ,sizingMethod="crop");
方案二
引入jquery插件pngFix.js
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <title>png透明</title> <script type="text/javascript" src="js/jquery.js"></script> <!--[if IE 6]> <script type="text/javascript" src="http://nuomi.xnimg.cn/js_new/DD_belatedPNG_0.0.8a43039.js" ></script> <script type="text/javascript">DD_belatedPNG.fix('.pngfix');</script> <![endif]--> </head> <body> <div class="pngfix"></div> </body>