今天解决png图片在IE6下的背景透明问题,找到了一个好方法。之前的解决方案会造成错位,使页面变形。现把这个方法公布如下,本人亲测可以正常使用,如果你在使用中出现问题,请看实例中的说明(英文不精的童鞋可以用谷歌翻译哟)
<!--[if lt IE 7]>
<script type="text/javascript" src="images/iepngfix_tilebg.js"></script>
<style type="text/css">
img, div, input { behavior: url("images/iepngfix.htc") }
</style>
在页面中
相关下载链接:
//download.csdn.net/download/zhoushengbin3/5618609?utm_source=bbsseo