代码如下: <!-- if (window.navigator.userAgent.indexOf("MSIE")>=1) { var IE1024=""; var IE800=""; var IE1152=""; var IEother=""; ScreenWidth(IE1024,IE800,IE1152,IEother) }else{ if (window.navigator.userAg
var Other1600 = "css_1600.css"; var Other1440 = "css_1440.css"; var Other1366 = "css_1366.css"; var Other1280 = "css_1280.css"; var Otherother = ""; //ScreenWidth() function ScreenWidth() { // alert(screen
加上条件注释语句<!--[if IE 8]><link rel="".........................><![endif]-->ie条件注释语句还可以加上以下限制lte:就是Less than or equal to的简写,也就是小于或等于的意思.lt :就是Less than的简写,也就是小于的意思.gte:就是Greater than or equal to的简写,也就是大于或等于的意思.gt :就是Greater than的简写
[css3在线手册]http://css.doyoe.com/ http://blog.csdn.net/duchao123duchao/article/details/52638506 [根据判断PC浏览器类型和手机屏幕像素自动调用不同CSS] http://www.cnblogs.com/tdalcn/p/3512140.html [css方法详细介绍,@media] @media (only) screen and () and () and () not ().... 两种方式[注: