alpha transparent 24 bit PNG in IE

A

Andrew Poulos

I've been trying to display alpha transparent 24 bit PNGs in IE. I've
located a couple of different sources e.g. sleight from youngpup.net but
I'm wondering how MS Word does it. I had a look at the source that Word
creates and, to me, it's jumble of styles, XML, conditional comments,
and random bits of code.

Can someone recommend a way that works with IE 5?

Andrew Poulos
 
M

michael elias

In IE you have to use the AlphaImageLoader filter to correctly display
a PNG's transparency.

<img src="empty.gif"
style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src=image.png);"

empty.gif is a gif image with a single transparent pixel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top