Alpha 不透明度和行为: url(iepngfix.htc);不能在 IE6 中工作

发布于 2024-11-29 13:52:51 字数 479 浏览 9 评论 0原文

.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

Internet Explorer 6 中的结果(基于 Windows 版 IE Tester): result in Ie

.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 firefox

Result in Internet Explorer 6 (Based on IE Tester for Windows):
result in Ie

the path of the .htc file is correct !

Any idea what i'm missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

蓝眼睛不忧郁 2024-12-06 13:52:51

不要使用 IETester 对此进行测试。这并不完全可靠。

您应该使用虚拟机,但您可以快速测试带有 http://ipinfo.info/netrenderer/ 的页面。


在谷歌搜索了一下之后,我可能对 IETester 有点不公平(尽管我仍然不相信它)。

http://www.my-debugbar.com/wiki/IETester/HomePage

已知问题和限制:

  • CSS 过滤器在用户模式下无法正常工作:解决方案是以管理员用户身份启动 IETester,CSS 过滤器即可正常工作。

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

Known problems and limitations :

  • CSS Filters are not working correctly in user mode : A solution is to launch IETester as admin user and CSS Filters will work.
煮茶煮酒煮时光 2024-12-06 13:52:51

您可以尝试 PIE - http://css3pie.com,它也可以在 IE6 中运行。

You can try PIE - http://css3pie.com, that is working in IE6 too.

捎一片雪花 2024-12-06 13:52:51

除特定情况外,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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文