if(window.screen.width==1280){ document.write("<link href='css/default1280.css' rel='stylesheet' type='text/css'>"); } if(window.screen.width==800){ document.write("<link href='css/default800.css' rel='stylesheet' type='text/css'>"); }
普通1024分辨率下按默认调用普通的default.css,而当宽屏时则调用default1280.css,以此类推,当屏幕分辨率为800时调用default800.css,不过一般用800的少了,仅只要有第一段1280的设置就好了。