如果是IE浏览器则选择all-ie-only.css

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="all-ie-only.css" />
<![endif]-->
如果不是ie浏览器则选择not-ie.css <!--[if !IE]><!-->
<link rel="stylesheet" type="text/css" href="not-ie.css" />
<!--<![endif]-->
一下是不同ie浏览器选择的不同css标准
Target only IE 7 <!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="ie7.css">
<![endif]-->
Target only IE 6 <!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->
Target only IE 5 <!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="ie5.css" />
<![endif]-->
Target only IE 5.5 <!--[if IE 5.5000]>
<link rel="stylesheet" type="text/css" href="ie55.css" />
<![endif]-->
Target IE 6 and lower <!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="ie6-and-down.css" />
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="ie6-and-down.css" />
<![endif]-->
Target IE 7 and lower <!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="ie7-and-down.css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="ie7-and-down.css" />
<![endif]-->
Target IE 8 and lower <!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="ie8-and-down.css" />
<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="ie8-and-down.css" />
<![endif]-->
Target IE 6 and higher <!--[if gt IE 5.5]>
<link rel="stylesheet" type="text/css" href="ie6-and-up.css" />
<![endif]-->
<!--[if gte IE 6]>
<link rel="stylesheet" type="text/css" href="ie6-and-up.css" />
<![endif]-->
Target IE 7 and higher <!--[if gt IE 6]>
<link rel="stylesheet" type="text/css" href="ie7-and-up.css" />
<![endif]-->
<!--[if gte IE 7]>
<link rel="stylesheet" type="text/css" href="ie7-and-up.css" />
<![endif]-->
Target IE 8 and higher <!--[if gt IE 7]>
<link rel="stylesheet" type="text/css" href="ie8-and-up.css" />
<![endif]-->
<!--[if gte IE 8]>
<link rel="stylesheet" type="text/css" href="ie8-and-up.css" />
<![endif]-->

  

最新文章

  1. 【已更新】【原创】Chrome53 最新版惊现无厘头卡死 BUG!
  2. MongoDB C Driver使用教程
  3. css样式大全
  4. CSS中box-sizing属性的理解与部分用法
  5. rabiitmq集群完整安装
  6. 【C语言入门教程】7.2 结构体数组的定义和引用
  7. Clover(资源管理器增强)
  8. The Hitchhiker’s Guide to Python! — The Hitchhiker's Guide to Python
  9. JS笔记 入门第一
  10. 仓储Repository
  11. HTTP协议&SOCKET协议
  12. trait
  13. vue -- element
  14. oracle服务端安装与配置
  15. Caused by: java.lang.ClassNotFoundException: backtype.storm.topology.IRichSpout
  16. 《软件测试自动化之道》读书笔记 之 底层的Web UI 测试
  17. SQL Server清理大日志文件方法 不分离数据库 执行SQL语句即可
  18. pip 安装错误 &#39;ascii&#39; codec can&#39;t encode characters
  19. 华为手机如何查看WiFi密码
  20. 使用for in循环遍历json对象的数据

热门文章

  1. 有关于CSS的面试题和练习
  2. 从零开始学android开发-adt-bundle-eclipse下的修改android app名称
  3. zoj3820 Building Fire Stations 树的中心
  4. Android平台上长连接的实现
  5. [Express] Level 5: Route Instance -- refactor the code
  6. 放肆的使用UIBezierPath和CAShapeLayer画各种图形
  7. Linux内核高端内存 转
  8. Java SimpleDateFormat 函数
  9. [golang学习] goroutine调度
  10. Java最重要的21个技术点和知识点之JAVA面向对象