Transparent pictures display grey box around them

Discussion in 'Programming' started by lespaul00, Nov 20, 2007.

  1. #1
    Hello,

    I uploaded my website, and when I view it in IE7, it looks fine. On another computer (running IE6), my images from Fireworks with "transparent" backgrounds now have "grey" backgrounds instead. It makes it look awful. Any way to correct this?
     
    lespaul00, Nov 20, 2007 IP
  2. unitedlocalbands

    unitedlocalbands Well-Known Member

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #2
    I had this same problem. after doing a little research i found that not all older browsers will display the transparent image correctly.

    I have worked around this by chaging the background color of my images to the color of the background of the page. And with links be sure to set the border="0". Its the simplest thing to do.
     
    unitedlocalbands, Nov 20, 2007 IP
  3. lespaul00

    lespaul00 Peon

    Messages:
    283
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I did the same. I changed the background on all my affected pictures.

    This was tedious, redundant, and I hate to say it, stupid. It's unfortunate only IE6 and prior has a problem displaying the alpha channel (a property which enables transparency) of .png files.

    But alas! I do have a fix I found on the internet.

    http://homepage.ntlworld.com/bobosola/index.htm

    This walks you through how it's done.
     
    lespaul00, Nov 21, 2007 IP