On Thu, Jan 6, 2011 at 10:18 PM, Dougie McGilvray <dougie.mcgilv...@googlemail.com> wrote: > 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?
Whenever I need to target only IE, I use Conditional Comments. I have found that to be the most convenient method and it keeps my main CSS files valid and clear of hacks. It is extremely rare for me to need to target a specific non-IE browser. In those rare cases, I used Javascript object detection. ~Chetan ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/