开发者

IE shadow rendering bug and jQuery

开发者 https://www.devze.com 2023-02-03 22:32 出处:网络
I\'m using jQuery to \"fade in\" a certain part of my site. In IE8 the box fades in, but during the fade, the shadow is solid black. After the fade, the image is rendered normally.

I'm using jQuery to "fade in" a certain part of my site. In IE8 the box fades in, but during the fade, the shadow is solid black. After the fade, the image is rendered normally.

T开发者_如何学JAVAhe shadow is a PNG shadow.

Is this a known issue? How can I fix it?


This is a bug in how IE handles the 8-bit alpha channel when combined with the opacity filter. The only solution I'm aware of is to make the image an AlphaImageLoader filter (as you would for IE 6 to display the alpha channel correctly at any opacity) rather than a background-image.

0

精彩评论

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