Re: CSS / PHP / Javascript
| From: | Richard Lynch | Date: | Tue, 21 Nov 2006 18:52:37 +0000 |
| Subject: | Re: CSS / PHP / Javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244978@lists.php.net to get a copy of this message | ||
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?