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. Davoud 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: http://www.positioniseverything.net/articles/pie-maker/pagemaker_form.php which will generate CSS that self-selects for you, with all appropriate hacks in place. Cheers Martin -- > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter > http://dspam.nuclearelephant.com/