Transparent PNG images showing black color around the borders in IE 8


  • Hello,

    Transparent PNG files showing black borders in IE 8(Version: 8.0.6001.13702 Product ID: 01368-600-0043051-78162 ).

    But in IE 8(Version: 8.0.6001.13702 Product ID: 01368-997-0062283-09017 ), they are displayed correctly without the black borders. Any reason why this is happening? Here is the path to the screenshot. Windows XP is the operating system.
    Thursday, April 08, 2010 7:30 AM

All replies

  • Hello,

    That looks like a Div element with png images contained in it. If you are talking about the backgound image for the bounding div element then....

    Possibly one of your IE versions(?) has a corrupt User Agent Sting and the site you are visiting is using browser sniffing to serve up different page versions.

    Or are you talking about x86 and x64 versions of IE8 on the same x64 XP, SP (whatever) computer.

    Please include a link to your website in your next post.


    Friday, April 09, 2010 8:25 AM
  • Thanks for your feedback.

    It is not called as a background image in a div.

    "Or are you talking about x86 and x64 versions of IE8 on the same x64 XP, SP (whatever) computer."  How can I find this out?






    Friday, April 09, 2010 9:36 AM
  • Hi,



    in your IE8 address bar... the userAgent string for your browser will contain your information about your IE version and Windows version. x64 Windows versions contain the WOW token.

    I had another look at your screen shot and now understand that you are talking about the icon png images that are in the Slider Div at the bottom of the page.

    It looks like you are resizing the png images and using either relative or absolute positioning of the containing div elements.

    In these circumstance you must use the alphaimage loader proprietry filter.

    Here is the MSDN doco...

    You will need to have 2 versions in your css file. One for IE7 and lower and one for the IE8Standards mode (with the -ms- proprietry prefix). You can read about that in the doco.



    Saturday, April 10, 2010 7:29 AM