Forum Moderators: not2easy

Message Too Old, No Replies

IE6 PNG tranparency

I know, no support, but...

         

henry0

11:03 am on Mar 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I made a bunch of nice png transparencies
later discovered that I have no problem with FF and IE7 but IE6 does not support it

I understand that no support = no support
but out of curiosity is there a way around? (aside going to 8 bit)

thanks

limbo

12:09 pm on Mar 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi henry

Look up IE transparency filter. Should turn up what you require.

henry0

1:54 pm on Mar 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Limbo appreciated it :)
Henry

johnnie

12:44 pm on Mar 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In the case of a fading image, I display the site in IE7, take a screenshot, cut it out and save it. That is the image I serve to IE6 using conditionals or the * html selector. It's ugly, but it works.

henry0

9:09 pm on Mar 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi johnnie, why not? However it seems that you have created a sub_thread - Discussion: What's the most "under the belt" :) trick you did ever come with?

johnnie

8:34 pm on Mar 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, I may point out to those that say that my trick defeats the very purpose of one transparent PNG, that it allows for separate positioning of the non-transparent IE6-JPG. In pixel-perfect layouts this is likely needed, given the 'slightly' different box model behaviour of IE6.

I have however found a lovely little advantage to the filter-approach, which is that, if the image is a link and you set it to cursor:pointer; using CSS, the cursor change will actually only occur in those image areas with an alpha >0%. It is merely a minor detail, but it's cute.