<SCRIPT LANGUAGE="JavaScript"> <!-- if (window.navigator.userAgent.indexOf("MSIE")>=1) .{ //如果浏览器为IE setActiveStyleSheet("ie.css"); }else{ if (window.navigator.userAgent.indexOf("Firefox")>=1) { //如果浏览器为Firefox setActiveStyleSheet("ff.css"); }else.{ //如果浏览器为其他 setActiveStyleSheet("an.css"); } } function setActiveStyleSheet(title).{ document.getElementsByTagName("link")[0].href="style/css/"+title; } //-->
</SCRIPT>