pngfix and a png image in CSS doesn't work???

Discussion in 'CSS' started by 123GoToAndPlay, Apr 11, 2007.

  1. #1
    Hi all,

    I am using pngfix.js to display a transparant .png image in IE6. This works like a charm. But not when I have a transparant .png image in an .css file.

    Any way to fix this??
     
    123GoToAndPlay, Apr 11, 2007 IP
  2. 123GoToAndPlay

    123GoToAndPlay Peon

    Messages:
    669
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    #top h1 a {
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=imgurl);
    background: url(imgurl) 0 0 no-repeat;
    }

    filter shows a transparant .png in IE but no image in firefox.

    background shows a transparant .png in firefox but no transparant image in IE???
     
    123GoToAndPlay, Apr 11, 2007 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can't see your site nor exactly what you're doing but here's a question:

    Is this just full transparency? If you don't have any partial transparencies, it's easier to just use a gif (use an image editing program and change it). IE has so many issues but gif's work for everyone. Gif just can't do partial transparency, so if you don't have that, save yourself the trouble : )
     
    Stomme poes, Apr 18, 2007 IP