通用 PNG 修复脚本?
有谁知道不依赖于特定库(如 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我们曾经在我的公司使用过这个,直到我们最终放弃了 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.
非库依赖的将是 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.
我认为这是修复 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