GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Forums : Basics > How to fix png image transparency problems on Internet Explorer 6
Mottie (SuperAdmin) 1/18/2009 2:56 AM EST : How to fix png image transparency problems on Interne...
Posts: 3884



Fixing IE6's problem with displaying .png files

GuildPortal admin site link to the original post

Internet Explorer version 6 and older have a problem displaying "png" type files. In the screenshot on the left you'll notice that the same forum icons that I use on my test-site have a white background.

I personally like to use .png files because they have a 24-bit color pallete along with an opacity/transparecy variable. Whereas .gif files only allow 256 colors. For small images, like these forum icons, it's more of a personal choice. For more information, check out this page.

So you have three options:
  1. Tell your users that they need to upgrade their IE 6 (since this only occurs on IE6)
  2. Convert all your .png images into .gif images.
  3. Add the code below into your banner or footer area. It's a javascript file that corrects the problem... I uploaded it to my site so you don't need to mess with that part of it. Check out this site for more information on this fix.

    <!--[if lt IE 7]>
     <script type="text/javascript" src=""></script>
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems

New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
Who's Online 
There are   members online.
So-and-so has logged on!