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.
精彩评论