At 9:45 AM -0800 3/6/11, =?utf-8?B?aW5mb0BlY29pdHNmLmNvbQ==?= 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


Sure.

If you use PHP, then that data will be recorded in the $_SERVER['HTTP_USER_AGENT'] array.

However, "browser sniffing" is not a good idea for several reasons, such as Browser-spoofing and just too many browser/OS combinations to account for.

Cheers,

tedd

--
-------
http://sperling.com/
______________________________________________________________________
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