Jorge said:
In order to get IE to display properly a transparent .png all that is
needed is to style it like this :
You mean IE6 in your subject line, right?
image.style.filter= "progid

XImageTransform.Microsoft.AlphaImageLoader
(src="+ image.src+ ", sizingMethod='scale')";
Or am I missing something ?
| AlphaImageLoader Filter
| Displays an image within the boundaries of the object and between the
| object background and content, […]
<
http://msdn.microsoft.com/en-us/library/ms532969.aspx>
So what you are missing and what you need to get out of the way is the
(visibility of the) content. There are different approaches, personally
I would do something like
function png32(img) {
var span = document.createElement('SPAN');
img = img.parentNode.replaceChild(span, img);
span.appendChild(img);
img.style.visibility = 'hidden';
span.style.zoom = 1;
span.style.filter = "progid

XImageTransform.Microsoft.AlphaImageLoader(src=" + img.src + ", sizingMethod=crop)";
}
(Provided the replacement really needs to be dynamic. If not, I’d rather
hard-code that in the HTML and CSS, YMMD)