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 o
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
> recommend
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
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 sty
iginal Message-
> > From: Ed Lazor [mailto:[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
>
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 f
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
7 matches
Mail list logo