Re: [PHP] CSS / PHP / Javascript

2006-11-16 Thread Myron Turner
You can use a browser sniffer, where they've done all the work for you, and then link in the appropriate stylesheet using document.write(). I don't have personal experience with the IE conditionals, but I would be concerned that they'd get you into a bit of a box when it comes to recognizing

Re: [PHP] CSS / PHP / Javascript

2006-11-15 Thread Dave Goodchild
Good responses here - I tend to use MS conditional comments as I only resort to hacks when there (seems) to be no other way, and although conditional comments are proprietary they are ignored as comments by other browsers and are hence pretty harmless. Yes, for example Opera identifies itself as

Re: [PHP] CSS / PHP / Javascript

2006-11-15 Thread Jochem Maas
hmmm, this reply turned into something that resembles a rant about halfway thru... still ... maybe it's helpful in some way. 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

[PHP] CSS / PHP / Javascript

2006-11-14 Thread Ed Lazor
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

RE: [PHP] CSS / PHP / Javascript

2006-11-14 Thread zoticaic
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

Re: [PHP] CSS / PHP / Javascript

2006-11-14 Thread Larry Garfield
:[EMAIL PROTECTED] 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

Re: [PHP] CSS / PHP / Javascript

2006-11-14 Thread Paul Novitski
At 11/14/2006 08: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