PDA

View Full Version : PNG Transparency in Mac IE 5.2.3 + Win IE 6



wyclef
May 9th, 2005, 06:18 PM
I've been looking through a bunch of examples of how to use Transparent PNGs in IE however am unsuccessful in my own efforts. I was wondering if someone could point me in the right direction or direct me to a good example. I'm interested in only using a PNG as a background style. Thanks.

simplistik
May 9th, 2005, 06:40 PM
No... PNG transparency doesn't work on IE no matter what. This has been covered many many times :( :bored:

georgemonster
May 9th, 2005, 06:43 PM
I had the same problem. someone gave me this like to help me out.

http://koivi.com/ie-png-transparency/

wyclef
May 9th, 2005, 06:54 PM
There are tons of PNG hacks for IE out there...none of them work?

georgemonster
May 9th, 2005, 08:36 PM
Thats the only solution i found. Didn't use it anyway. I wanted to put an image of a shadow ontop of a tiled background. I ended up just making one image of the shadow on a little but of the tiles.

Ectheo
May 9th, 2005, 10:44 PM
I think web developers as a whole should band together, and FORCE web browsers to become standards compliant. SImply having IE saying "Yeah, we'll get to it" isn't cutting it. They've had how many years to fix a few minor details??!?!

I'm pondering the idea of having a sniffer script run when someone first visits my site, and if they're using a non-compliant browser, re-directing them to a page where it displays various web browsers and the pros and cons of them all.

back on topic, there really isn't anyway to do that...I was looking up ways to simulate transparency, but they require knowledge of CSS. I'll be able to help if someone requests so, but otherwise, let your anger fester.

petefs
May 11th, 2005, 12:02 PM
PNG transparency works fine in Windows IE with the use of the DX filter AlphaTransparency -- take a look on http://www.alistapart.com/ ^_^ There's an article explaining it (fuzzy drop shadows, I believe). It will not, however, work on Mac IE. Since DX filters require DirectX, and Mac has no DirectX, it will just display that ugly grey background ^_^ Native support is coming in IE7, but still. Yeesh.

RabBell
May 11th, 2005, 12:08 PM
when I have to use a png, I usually stick it in a flash movie, even if it's only the png in there and then set the flash movie to transparent

bit of a work around but it does work :cool:

simplistik
May 11th, 2005, 12:37 PM
when I have to use a png, I usually stick it in a flash movie, even if it's only the png in there and then set the flash movie to transparent

bit of a work around but it does work :cool:
You're correct it does work... but... not on NS (who uses it anyway) and also, it results in a massive CPU drain on Macs.

ultraloveninja
May 11th, 2005, 12:39 PM
doesn't matter. once adobe aquires macromedia, it will change the world of web as we know it.

wyclef
May 12th, 2005, 08:44 AM
anyone have an example of a png with transparent dropshadow bacground repeat-y working?

jigar47
May 17th, 2005, 05:41 AM
i found the png alpha channel solution at

http://homepage.ntlworld.com/bobosola/pngtestfixed.htm

a simple javascript code that will do the job for you i guess...
use of DXimagetransform filter for IE6+, nothing complicated.