PNG Files Do Not Show Transparency in Internet Explorer 8

Issue:

If you browse to a Web page (using Internet Explorer 8) that contains an image that has a transparent background in PNG format, the image background may appear to be gray rather than transparent.

Solution:

Add the below code to the Image CSS:

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png', sizingMethod='scale');

Written by Paul

With 10 years of software development and support experience in the information technology industry, Paul has a proven track record in delivering swift, accurate results on multiple client engagements. He has developed cutting-edge web and client/server applications, E-Commerce customizations, and industry-specific solutions for clients. Currently working at the Government of...
Read more

Leave a Reply

-->
%d bloggers like this: