开发者

Ie filter:alpha(opacity) black border

开发者 https://www.devze.com 2023-01-01 10:56 出处:网络
Having an issue where filter: alpha(opacity) is adding black jaggys around the edge of my images. Interestingly not around the image itself but around the edges of its transpare开发者_JS百科ncy (it i

Having an issue where filter: alpha(opacity) is adding black jaggys around the edge of my images.

Interestingly not around the image itself but around the edges of its transpare开发者_JS百科ncy (it is a transparent PNG).

But this is also happening on text I have absolutly positioned.

Any help would be very appretiated!

It looks fine in other browsers, obviously not using filter:

Thanks.


This man here has an explanation of the problem, as well as a workaround:

Blog post:

http://yordanstoev.com/blog/2009/05/22/png-transparency-plus-opacity-internet-explorer-8-bug/

Workaround:

http://yordanstoev.com/blog/showroom/ie8bug/working.html


For anyone who ever finds this.

Result I eventually found on MSDN is it's possible using MS propreity CSS, but its completely impractical.

0

精彩评论

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