-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jarek Foksa
Sent: Sunday, March 06, 2011 10:16 AM
To: [email protected]
Subject: Re: [css-d] Css conditional script based on browser

> Is there a way to detect what browser is being used then set different 
> parameters on a css class or is depending on the browser?

Unless you are trying to target IEs, I would strongly recommend you to do
feature detection, not browser detection.

Modernizr library should do the job: http://www.modernizr.com/docs/

For targeting specific version of IE there are conditional comments:
http://www.quirksmode.org/css/condcom.html

----------------------------------------------------------------------------
-------------------------

I think this is what I need 

" For targeting specific version of IE there are conditional comments:
http://www.quirksmode.org/css/condcom.html";

Thank you. I will look into how to use it.

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to