Sposób I
Sposób II
przez php:
Kod:
<!--[if IE 8]>
kod tylko dla IE 8 np.
<link rel='stylesheet' type='text/css' href='ie8.css'>
<![endif]-->
Sposób II
przez php:
Kod PHP:
function ie8(){
return strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8.') !== FALSE;
}
if(ie8()) { ?>
<link rel='stylesheet' type='text/css' href='ie8.css'>
<? } ?>