Why won't transparentPNG's work in IE?

Discussion in 'Graphics & Multimedia' started by ian_batten, Oct 13, 2007.

  1. #1
    I cannot understand why one of my transparent background PNG's shows as transparent in firefox, but not in IE?
    Any ideas anyone?
     
    ian_batten, Oct 13, 2007 IP
  2. hextraordinary

    hextraordinary Well-Known Member

    Messages:
    2,171
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    105
    #2
    This is a known issue with IE, so solve it use the following code:

    <img src="some.png" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='some.png', sizingMethod='scale');" alt="">
    Code (markup):
     
    hextraordinary, Oct 13, 2007 IP
  3. ian_batten

    ian_batten Well-Known Member

    Messages:
    1,991
    Likes Received:
    106
    Best Answers:
    0
    Trophy Points:
    185
    #3
    I replaced both instances in the code with my PNG url, however it is still just showing a blank background, as opposed to a transparent background.
    Was I supposed to replace any more variables in there?
     
    ian_batten, Oct 13, 2007 IP