Re: CSS / PHP / Javascript

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

 



On Tue, November 14, 2006 10:00 pm, Ed Lazor wrote:
> 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?

Seems to me that if you have to define different CSS for different
browsers, and/or hack it up with weird bogus CSS declarations, then
you've kind of defeated the whole purpose of CSS in the first place...

YMMV

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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