Dopo la get_browser fai:
codice:
print_r($browser);
Così vedi come é impostato il tuo.
Nell'esempio che ho fatto testa Netscape e Firefox, se hai ie devi aggiungere un test così:
codice:
<?
brow = get_browser ();
if ( $brow->browser == "Netscape" )
{
echo '<link href="netscape.css" rel="stylesheet" type="text/css">';
}
elseif ( $brow->browser == "Firefox" )
{
echo '<link href="firefox.css" rel="stylesheet" type="text/css">';
}
elseif ( $brow->browser == "Msie" )
{
echo '<link href="ie.css" rel="stylesheet" type="text/css">';
}
else
{
echo '<link href="default.css" rel="stylesheet" type="text/css">';
}
?>