Alpha 不透明度和行为: url(iepngfix.htc);不能在 IE6 中工作
.idioma_es #logosFooter, .idioma_es #logosFooter li a {
background: url(../nImg/microsites/logos/logos_footer.png) no-repeat scroll left top transparent;
behavior: url(../../nJs/iepngfix.htc);
}
在火狐浏览器中的结果:
Internet Explorer 6 中的结果(基于 Windows 版 IE Tester):
.htc 文件的路径正确!
知道我缺少什么吗?
.idioma_es #logosFooter, .idioma_es #logosFooter li a {
background: url(../nImg/microsites/logos/logos_footer.png) no-repeat scroll left top transparent;
behavior: url(../../nJs/iepngfix.htc);
}
Result in Firefox:
Result in Internet Explorer 6 (Based on IE Tester for Windows):
the path of the .htc file is correct !
Any idea what i'm missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不要使用 IETester 对此进行测试。这并不完全可靠。
您应该使用虚拟机,但您可以快速测试带有 http://ipinfo.info/netrenderer/ 的页面。
在谷歌搜索了一下之后,我可能对 IETester 有点不公平(尽管我仍然不相信它)。
http://www.my-debugbar.com/wiki/IETester/HomePage
Don't test this with IETester. It's not completely reliable.
You should use a virtual machine, but you can quickly test a page with http://ipinfo.info/netrenderer/.
After Googling a little, I might have been a little unfair to IETester (though I still don't trust it).
http://www.my-debugbar.com/wiki/IETester/HomePage
您可以尝试 PIE - http://css3pie.com,它也可以在 IE6 中运行。
You can try PIE - http://css3pie.com, that is working in IE6 too.
除特定情况外,IE6 不支持背景图像的 Alpha 通道。与前景图像不同,没有通用的修复方法。
看这里:http://24ways.org/2007/supersleight-transparent-png- in-ie6
检查“陷阱”标题下的第一位文本
IE6 does not support the alpha channel for background images apart from in specific circumstances. There is no general fix, as there is for foreground images.
Look here: http://24ways.org/2007/supersleight-transparent-png-in-ie6
Check the first bit of text under 'The pitfalls' heading