问题
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