Understanding pngbehavior.htc

So, I have a client who wants to use transparent PNG’s on his website and I’ve dropped them into Freeway 5.1.1 with them set to PNG / Millions (Colors) and Interlaced checked. They are transparent already (in certain areas) and are PNG-24 format. Now when I load them in my browser testing, the transparency isn’t seen in IE6 but rather a blueish background but all other browsers seem to be just fine.

Now I thought that the pngbehavior.htc would help IE6 translate transparency, but it hasn’t worked yet and since this is my first time using transparent PNG’s, I’m wondering how do I get it to work? I read somewhere that if I set them as a DIV background image that it might work, but that didn’t work out at all.

Is there a special way the files have to be imported into Freeway? Should i check either ignore resolution or set them as pass-through? I have IE6/IE7 compatibility enabled (does that matter?) and just trying to understand why it isn’t doing it.

Any guidance or suggestions would be great.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Back at it. Would it be possible to target a DIV and make any PNG images in that DIV use this:

{ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src=‘href="http://WEBSITEURL’,sizingMethod=‘scale’) }

Seems to be what people use when the PNGBehavior doesn’t want to work. So, say the DIV is labelled “item1”, with a graphic box inside that DIV labelled, “item2”. Could I make a CSS line that would say, “img#item1” and then drop that filter in at the end?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options