IE6不支持PNG图片透明怎么办

做网页基本都会遇到这个问题的,没办法依然有一部分电脑上是IE6,还得考虑兼容性,这个也很好解决

1、搜索下载DD_belatedPNG_0.0.8a.js放到项目存放js的文件夹中

2、在需要滤镜的页面中加入

<!--[if lte IE 6]>
<script src="script/DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
    <script type="text/javascript">
        DD_belatedPNG.fix('div, ul, img, li, input , a , dl , dt , dd');
    </script>
<![endif]-->

 即可

学习...
原文地址:https://www.cnblogs.com/istianyu/p/2843016.html