PNG-24 Issue in Internet Explorer 6

Discussion in 'HTML & Website Design' started by irka, Sep 15, 2006.

  1. #1
    Hello i've problem using a background png file, when i use a picture its alright i found out a tutorial on the web which uses a small javascript file to fix the alpha transparency on IE, it works for the images using the <img /> tag but for the background-image: tage using CSS or STYLE it doesn't work, we can still see the border of the PNG file so there are no transparency...

    you can see the problem at http://www.irkawebpromotions.com/cust/website.html

    For any help that would be great, the css files are located at /css/style.css

    Thanks!
    Patrick
    PS: Open the above address using IE or you will not see any problems with FF.
     
    irka, Sep 15, 2006 IP
  2. Kendothpro

    Kendothpro Well-Known Member

    Messages:
    574
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Url not working
    If the image has full transparency (and doesn't use partial opacity) I'd suggest simply changing it to a .gif

    If it uses partial opacity then create a new <div> just for the background image and set it's opacity with the -moz-opacity and opacity CSS rules :)
     
    Kendothpro, Sep 16, 2006 IP
  3. irka

    irka Well-Known Member

    Messages:
    1,875
    Likes Received:
    183
    Best Answers:
    0
    Trophy Points:
    185
    #3
    Yeah sorry for the URL... I had to change the folders name,
    Well actually i fixed the problem by having 2 css files, one for IE5.5+ and one for Firefox, the css for firefox contain all the png pictures (not for all the graphic of the site lol, png >> Heavy mama), and the css for IE got only JPEG files, there are just a few differences between the both versions so its pretty cool...

    :p Hope that IE7 will support fully PNG files because that sucks right now.
     
    irka, Sep 16, 2006 IP
  4. mstwntd

    mstwntd Peon

    Messages:
    72
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No need to hope. It's been a known fact for like 6 months already. ;)
     
    mstwntd, Sep 16, 2006 IP
    irka likes this.