Even that site resource advise's to use the htc approach. I use this on a
number of website and it works really well. I attach it to a style sheet for
IE6 or below that way my CSS still passes validation.

http://bjorkoy.com/past/2007/4/8/the_easiest_way_to_png/


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jens-Uwe Korff
Sent: 17 June 2008 00:50
To: [email protected]
Subject: RE: [WSG] transparency, png IE6 ??

 
> Does anyone have a clever full functional solution for this
transparency crap to make work.... ?

I know it's a rather old thread but I just came across a nice solution
which does not even need an "iepngfix.htc" Javascript.

One template I work on required a semitransparent background. I have it
working nicely cross-browser (FF, IE6, IE7) with the following:

CSS:

.className {background:transparent url('img/707070_90pc.png') repeat 0
0} /* The 'pc' indicates the opacity, 90% here */
* html .className
{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoad
er(enabled=true, sizingMethod=scale,
src='css/skin-travel/img/707070_90pc.png')}

The first line if for standards-compliant browsers, the second one for
IE6 only.

Image:

You'll also need the PNG image. Here's the magic: Usually a PNG image
used with the proprietary filter overlays any links and renders them
unclickable. But I found a website [1] which offers a fix: You have to
use a certain image size, then IE6 allows clickable links. 

So I made the PNG just 10x2 pixels (wXh).

That's it. The site's not live yet, so I cannot offer a link.

Cheers,
 
Jens 

[1] http://www.daltonlp.com/view/217

The information contained in this e-mail message and any accompanying files
is or may be confidential. If you are not the intended recipient, any use,
dissemination, reliance, forwarding, printing or copying of this e-mail or
any attached files is unauthorised. This e-mail is subject to copyright. No
part of it should be reproduced, adapted or communicated without the written
consent of the copyright owner. If you have received this e-mail in error
please advise the sender immediately by return e-mail or telephone and
delete all copies. Fairfax does not guarantee the accuracy or completeness
of any information contained in this e-mail or attached files. Internet
communications are not secure, therefore Fairfax does not accept legal
responsibility for the contents of this message or attached files.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



-- 
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.3.0/1504 - Release Date: 15/06/2008
17:52




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to