[thelist] PHP multiple style switcher

Martin Burns martin at easyweb.co.uk
Fri Nov 23 10:46:57 CST 2007

On 23 Nov 2007, at 16:25, DAVOUD TOHIDY wrote:

> I am looking for a php style switcher based on browser
> detection without any user interaction whatsoever.
> It must be able to provide a way to load the proper
> style sheet for safari, FF, IE7 and IE6 on the fly.


Don't do it like that - you have no way of telling whether a browser  
is what it's claiming to be... except by its abilities.

You need something like:
which will generate CSS that self-selects for you, with all  
appropriate hacks in place.


 > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter
 > http://dspam.nuclearelephant.com/

More information about the thelist mailing list