RE: [PHP] CSS / PHP / Javascript
| From: | zoticaic | Date: | Wed, 15 Nov 2006 04:15:12 +0000 |
| Subject: | RE: [PHP] CSS / PHP / Javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244643@lists.php.net to get a copy of this message | ||
I guess the $_SERVER predefined variable can be used determining the
platform and browser/user-agent and loading the CSS of choice.
http://www.php.net/manual/en/reserved.variables.php
Enjoy!
Jervin
> -----Original Message-----
> From: Ed Lazor [mailto:edlazor@yahoo.com]
> Sent: Wednesday, November 15, 2006 12:01 PM
> To: PHP General List
> Subject: [PHP] CSS / PHP / Javascript
>
> I'm reading a book on CSS and how you can define different style
> sheets for different visitors. I'm wondering how you guys do it.
> The book recommends using Javascript functions for identifying the
> user's browser and matching them with the corresponding style
> sheets. Anyone using PHP for this instead - specifically with
> defining style sheets for different target browsers and platforms?
>
> -Ed
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php