简体   繁体   English

在 IE6 上显示 png 的问题

[英]Problem displaying png on IE6

I'm using these codes to fix the png display problem in IE.我正在使用这些代码来修复 IE 中的 png 显示问题。 The strange thing is that sometimes it works and sometimes it doesn't.奇怪的是,有时它有效,有时则无效。 I included these within <head> or my htmls.我将这些包含在<head>或我的 html 中。

<!--[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?如果有任何方法可以解决 IE6 的这个问题?

Try using DD_belatedPNG instead.尝试改用DD_belatedPNG

It uses a different technique compared to most of the other IE6 .png fixes, and has in my experience been generally more reliable.与大多数其他 IE6 .png修复程序相比,它使用了不同的技术,并且根据我的经验,它通常更可靠。

Be sure to precisely follow the instructions in the "Usage" section .请务必严格按照“使用”部分中的说明进行操作。

Remove the period:删除句号:

<!--[if lt IE 7]>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM