IE6 Png Hack using CSS
| Posted in CSS | Posted on 21-12-2008
0
Now its come’s PNG problem which we all CSS developer facing with IE6. This was one of the easiest way to do it. Only one problem when you put this in domine you have to give the full relative path in the png image path on CSS.
.selector {
/* Mozilla ignores crazy MS image filters, so it will skip the following */
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src=’/75p_honey.png’);
}
/* IE ignores styles with [attributes], so it will skip the following. */
.selector[class] {
background-image:url(/75p_honey.png);
}

