Hi people, I just wondered if people had an opinion about the alternative of using hacks/conditional statements, php or js to account for browser variation? Obviously, if you dont need php, there's no point using php for browser variations. But checking the user agent header in php doesn't seem to be as popular as I would have thought (although my idea of how popular it is is based on nothing more than I havent found as much on the web about it compared to the millions of pages on css hacks).
Is it just a case of using the right tool for the job? It would seem logical to me - if you are using PHP anyway of course - to check the user-agent header and add a class to the body tag? I realise people can change the header sent by their browser, but how many people actually do that? PS - I realise this could get slightly off-road and head into php/js and what have you, but it's still relevant. Doug ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
