Problem displaying png on IE6

房东的猫 提交于 2019-12-11 14:21:32

问题


I'm using these codes to fix the png display problem in IE. The strange thing is that sometimes it works and sometimes it doesn't. I included these within <head> or my htmls.

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="_scripts/pngfix.js"></script>
<![endif]-->

Any ideas anyone? And if there's any way to fix this problem with IE6?


回答1:


Try using DD_belatedPNG instead.

It uses a different technique compared to most of the other IE6 .png fixes, and has in my experience been generally more reliable.

Be sure to precisely follow the instructions in the "Usage" section.




回答2:


Remove the period:

<!--[if lt IE 7]>


来源:https://stackoverflow.com/questions/6319801/problem-displaying-png-on-ie6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!