Is there a JavaScript PNG fix for IE6 that allows CSS background positioning?

前端 未结 6 1055
你的背包
你的背包 2021-02-05 21:24

I\'ve seen a few fixes for allowing PNG images to have transparency in Internet Explorer 6, but I\'ve yet to find one that also allows you to set the background position in CSS.

6条回答
  •  时光取名叫无心
    2021-02-05 22:02

    Yes. Convert your images to use indexed pallets (png256). You can support transparency (just like gif), but not an alpha channel.

    You can do this using Irfanview and the pngout plugin, pngquant or pngnq.

    The YUI performance team also did a great presentation that covers this an many other image optimization concepts.

提交回复
热议问题