Mike’s Experiments - PHP: Browser Sniffer

To help developers serve a specific style sheet to a specific browser, some form of browser sniffing or detection is needed. For Internet Explorer a conditional comment can be used, but this experiment facilitates delivery of style sheets for Opera — and others — as well.
Get the PHP, source. Go to back to the Mike’s Experiments index.


This is your browser data: → Browser not yet listed

Not listed yet, huh? Please send me the data shown in the box below.

This is the PHP scripted CSS link output in XHTML:

No listing means your users will get the default style sheet.