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

    Question

  • 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.

    http://shivanand.in/forums/png-with-black-border.png
    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.

    Regards.


    Rob^_^
    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?

     

    Regards,
    Shivanand

     

     

     

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

    type

    javascript:navigator.userAgent;

    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... http://msdn.microsoft.com/en-us/library/ms532969(VS.85).aspx

    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.

    Regards.

    Regards.


    Rob^_^
    Saturday, April 10, 2010 7:29 AM