Add Useragent to the body class?
something like this maybe: function my_class_names($classes) { $useragent = $_SERVER[‘HTTP_USER_AGENT’]; if(strchr($useragent,’Safari’)) $classes[] = ‘Safari’; // etc.. return $classes; } add_filter(‘body_class’,’my_class_names’); Edit – as per Chip’s suggestion, here’s the function using the WordPress useragents checks: function my_class_names($classes) { global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone; if($is_lynx) $classes[] = ‘lynx’; elseif($is_gecko) $classes[] = ‘gecko’; elseif($is_winIE) … Read more