Click here to Skip to main content
12,447,786 members (63,608 online)
Click here to Skip to main content

Stats

71.5K views
296 downloads
48 bookmarked
Posted

Using a Control Adapter to Properly Display PNG Images in IE

, 25 Oct 2006
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.
App_Browsers
All.browser
App_Code
Images
Sample.png
Sample.unknown
Spacer.gif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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

Share

About the Author

Charles Windhausen
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.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160811.3 | Last Updated 25 Oct 2006
Article Copyright 2006 by Charles Windhausen
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid