Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > How to fix png image transparency problems on Internet Explorer 6
Mottie (MVP) 1/18/2009 3:04 AM EST : How to fix png image transparency problems on Interne...
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Fixing IE6's problem with displaying .png files

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="http://www.axiomfiles.com/Files/258012/unitpngfix.js"></script>
    <![endif]-->
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%