Click here to Skip to main content
15,883,901 members
Articles / Web Development / ASP.NET

Using a Control Adapter to Properly Display PNG Images in IE

Rate me:
Please Sign up or sign in to vote.
4.75/5 (22 votes)
25 Oct 20067 min read 92.5K   315   48  
Internet Explorer 5.5 and 6 cannot display transparent PNG images using the standard IMG tag. Here's a solution that uses a control adapter to output different HTML when the image to display is a PNG.

Views

Daily Counts

Downloads

Weekly Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Charles works at PC Tools in Boulder, CO as a "do everything" developer. He's worked with Windows development for over 10 years and web development for over 5.

Comments and Discussions