Universal PNG fix script?

℡╲_俬逩灬. 提交于 2019-12-25 04:42:20

问题


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.


回答1:


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.




回答2:


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.




回答3:


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

this is best compare than Helix Png Fix



来源:https://stackoverflow.com/questions/3160857/universal-png-fix-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!