Бихте ли ми казали валидната според W3W алтернатива на това
Код:
<script language="JavaScript" type="text/JavaScript">
if(navigator.appName == "Microsoft Internet Explorer") {
document.write("<link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\" />");
}
else if(navigator.appName =="Netscape") {
document.write("<link href=\"css/style3.css\" rel=\"stylesheet\" type=\"text/css\" />");
}
else {
document.write("<link href=\"css/style2.css\" rel=\"stylesheet\" type=\"text/css\" />");
}
</script>