On 3/6/11 12:45 PM, [email protected] wrote:
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?
Sincerely,
Matthew
Yes, sort of, but "browser sniffing" is not a particularly good way to go:
<http://www.howtocreate.co.uk/tutorials/jsexamples/sniffer.html>
You may want to look into CSS3 "media queries," to enable delivery of
specific style depending on the media type-- desktop vs mobile, for example.
css3-media queries
<http://www.w3.org/TR/css3-mediaqueries/#media0>
a good article: responsive web design
<http://www.alistapart.com/articles/responsive-web-design/>
Best,
Mikhail Baryshnikov
--
http://chelseacreekstudio.com/
http://chelseacreekstudio.com/fa/
______________________________________________________________________
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/