Previous Message
Next Message

IE-Transparency with CSS

Sent by Zoe M. Gillenwater on 3 November 2005 12:12


Abyss Information wrote:

>I hate IE transparency, is there anyway to be able to set the PNG 
>transparency in IE 6 without affecting the validation of a document or CSS?
>  
>

Does your CSS really need to be valid?  If the presence of the filter 
thing for IE is the only invalid thing in your style sheet, then you are 
knowingly making it invalid, you know the invalid bit isn't hurt 
anything else, and you can sleep easy.  My mantra: "Validation is a 
means not an end."

But if for some reason you have a boss who insists on that valid badge, 
just stick the filter rule in its own IE style sheet and feed it to IE 
via conditional comments.  Only IE will see the invalid sheet, so you'll 
pass validation.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: