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
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
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
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
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
:[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
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
7 matches
Mail list logo