The Single

Get Transparent Images to Work in IE6

Here is a nice light, easy to use, CSS tip to get transparent images to work in IE6. I found this tip here.

.element{
/* Mozilla ignores crazy MS image filters, so it will skip the following */
//filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
sizingMethod=scale src=’images/chapela.png’);
}
/* IE ignores styles with [attributes], so it will skip the following. */
.element[class]{
background: url(images/chapela.png) no-repeat center center;
}


The Comments