开发者

Dojo Internet Explorer 6 png problem

开发者 https://www.devze.com 2023-03-31 16:05 出处:网络
Everything works fine in all browsers excluding Internet Explorer 6. png ima开发者_如何学JAVAges shows white background behind them. How to get rid of them in Dojo. I am using dojo version 1.5.IE6 doe

Everything works fine in all browsers excluding Internet Explorer 6. png ima开发者_如何学JAVAges shows white background behind them. How to get rid of them in Dojo. I am using dojo version 1.5.


IE6 doesn't support PNG transparency properly. It has several known bugs.

There are hacks to get around it - try IEPNGFix, but there are several other variants of the hack available.


Did you try add alfa filter on it? Like this:

style="background:url('/upload/contents/371/dish-main2.png ');
background: expression('none');
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/upload/contents/371/dish-main2.png, sizingMethod=crop);

Can help you with IE6.

0

精彩评论

暂无评论...
验证码 换一张
取 消