PNG Files Do Not Show Transparency in Internet Explorer
This article was previously published under Q294714
This article has been archived. It is offered "as is" and will no longer be updated.
If you browse to a Web page that contains an image that has a transparent background in Portable Network Graphics (PNG) format, the image background may appear to be gray rather than transparent.
Web developers who work with PNG files can use the AlphaImageLoader filter, as demonstrated in the following example:
For more information on the AlphaImageLoader filter, see the following Microsoft Developer Network (MSDN) Web site:
<html><head></head><body bgColor="blue"><!-- This DIV is the target container for the image. --><DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='image.png', sizingMethod='scale');" ></DIV></body></html>
Article ID: 294714 - Last Review: 12/06/2015 01:46:17 - Revision: 4.4
Microsoft Internet Explorer 6.0
- kbnosurvey kbarchive kbinfo kbdhtml KB294714