如何在 IE6 中渲染 PNG 透明?
我有一个非常漂亮的 Web 应用程序,带有吸引人的图标图像。我的 CSS 和所有其他 UI 在除 IE 之外的所有其他浏览器中看起来都很棒。
如何使 PNG 正确显示?
I have a very beautiful Web application with attractive icons images. My CSS and all other UI is looking great in all other browsers except IE.
How can I make a PNG to appear properly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 Internet Explorer 6 及更低版本中,透明 png 无法正确显示。 png的透明部分不是透明的而是纯色的。无论如何,要解决该问题,请将此代码添加到您的 head 标签中。
In Internet Explorer 6 and below, transparetn pngs do not show correctly. The transparent part of the png is not transparent but a solid color. Anyways to fix that problem add this code to your head tag.
显然,我们不知道到底是什么没有正确显示,因为您没有提供任何信息。如果您想在 IE6 中使用透明 PNG 文件,请查看此链接 http: //24ways.org/2007/supersleight-transparent-png-in-ie6
Clearly, we have no idea what exactly is not displaying correctly since you've given no information. If you're looking to use Transparent PNG files in IE6, check out this link http://24ways.org/2007/supersleight-transparent-png-in-ie6
你应该尝试这个
或使用从这里下载的JS http://labs.unitinteractive.com/downloads/单位提示.zip
或 http://www.twinhelix.com/css/iepngfix/
You should try this
or use a JS downloaded from here http://labs.unitinteractive.com/downloads/unitip.zip
or http://www.twinhelix.com/css/iepngfix/