RE: CSS / PHP / Javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx]
> Sent: Wednesday, November 15, 2006 12:01 PM
> To: PHP General List
> Subject:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux