PNG Alpha TransparencyPNG format offers indexed transparency equivalent to GIF transparency. It works in Internet Explorer for Windows without any need for a JavaScript fix. PNG also has a more impressive option -- variable transparency, which is referred to as alpha transparency. Between all-or-none it allows 254 levels of partial transparency. Nearly all the latest browsers support PNG's variable transparency, including WebTV and Microsoft Internet Explorer for Macs. Pre-IE7 versions of Internet Explorer for Windows set a gray background. The demo on the right shows how to overcome Internet Explorer's deficiency with a JavaScript function. It can be used for Windows Internet Explorer 5.5 or higher. Go to the View menu and try changing the text size. The images will move vertically over the stripes. If you are using Internet Explorer, try "Select All" also. Note: Opera's [ View --> Zoom ] will enlarge the images instead. Go to the end of the page for a no scripting alternative. | 24 bit PNG image alpha transparency
| 8 bit PNG image indexed transparency
|

|

|
Service pack 2 for Windows XP changed some default settings for ActiveX which may cause the images to disappear when this page is viewed in IE6. To view the demos in IE6 the security settings for the Internet Zone need to be set as follows: |