通用 PNG 修复脚本?

发布于 2024-09-08 01:55:15 字数 128 浏览 1 评论 0原文

有谁知道不依赖于特定库(如 jQuery 或 Prototype?)的通用一站式 PNGFix 脚本。

我只想将它放在标题中并让它处理我的样式表和标记中的所有透明 .png。

似乎找不到一个能胜任这项工作的人。

Does anyone know of a universal, one stop PNGFix script that isn't dependent on a specific library (like jQuery or Prototype?).

I just want to drop it in the header and have it take care of all transparent .png's from my stylesheets and markup.

Can't seem to find one that will do the job.

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

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

发布评论

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

评论(3

路还长,别太狂 2024-09-15 01:55:15

我们曾经在我的公司使用过这个,直到我们最终放弃了 IE6:
http://www.twinhelix.com/css/iepngfix/。只需谷歌搜索“png fix”或“IE6 png fix”,您就会找到数十种资源。但正如其他人已经警告的那样,其中许多问题造成的问题比解决的问题还要多,因此通常需要进行单独的修复。

最好的解决方案是不支持 IE6。开始游说贵公司的 IT 部门。

We used to use this at my company, until we finally moved off of IE6:
http://www.twinhelix.com/css/iepngfix/. Just google "png fix" or "IE6 png fix" and you'll find dozens of resources. But as others have already warned, many of these cause more problems than they solve, and individual fixes are usually in order.

The best solution would be to not support IE6. Start lobbying with your company's IT department.

一曲爱恨情仇 2024-09-15 01:55:15

非库依赖的将是 http://www.dillerdesign.com/experiment/DD_belatedPNG/< /a>

但是,您必须单独指出应针对哪些元素。永远不会有一个脚本能够正确修复每个 png,因为 IE6 中存在太多与堆叠顺序相关的位置/布局场景和错误,不可能考虑到每种情况,这就是为什么最好单独修复元素。

A non-library dependent one would be http://www.dillerdesign.com/experiment/DD_belatedPNG/

However you have to individually point out which elements should be targeted. There is never going to be a script that will fix every single png properly because there are so many position/layout scenarios and bugs relating to stacking order in IE6 that it's impossible to account for every situation which is why it's best to individually fix elements.

我一向站在原地 2024-09-15 01:55:15

我认为这是修复 ie png 最简单的方法。 Unit Png 修复

这比 螺旋 Png 修复

I think this is the easiest way to ie png fix. Unit Png fix

this is best compare than Helix Png Fix

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