Fix IE8 PNG Transparency black border problem

Edit
To fix the IE8 PNG transparency black border problem. Please put this 2 css properties in the tag where the PNG is being used

.img_png {
    background: url(some_transparent.png);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */  
}



from : javascript - PNG Transparency Problems in IE8 - Stack Overflow
Fix IE8 PNG Transparency black border problem Fix IE8 PNG Transparency black border problem Reviewed by DF on 2:26:00 AM Rating: 5
©DF. Powered by Blogger.