Salve gente
da completo incompetente vorrei sapere come impostare uno script per far caricare fogli di stile diversi a seconda del browser.

Avevo pensato a qualcosa del tipo

codice:
if (Mozilla)
document.write("<link rel='stylesheet' href='css/stile_moz.css' type='text/css'>");
}
if (Explorer)
document.write("<link rel='stylesheet' href='css/stile_exp.css' type='text/css'>");
}
Che ne pensate?