根据ie浏览器不同的类别选择不同的css
2024-10-20 01:33:33
如果是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]-->
最新文章
- 【已更新】【原创】Chrome53 最新版惊现无厘头卡死 BUG!
- MongoDB C Driver使用教程
- css样式大全
- CSS中box-sizing属性的理解与部分用法
- rabiitmq集群完整安装
- 【C语言入门教程】7.2 结构体数组的定义和引用
- Clover(资源管理器增强)
- The Hitchhiker’s Guide to Python! — The Hitchhiker's Guide to Python
- JS笔记 入门第一
- 仓储Repository
- HTTP协议&SOCKET协议
- trait
- vue -- element
- oracle服务端安装与配置
- Caused by: java.lang.ClassNotFoundException: backtype.storm.topology.IRichSpout
- 《软件测试自动化之道》读书笔记 之 底层的Web UI 测试
- SQL Server清理大日志文件方法 不分离数据库 执行SQL语句即可
- pip 安装错误 &#39;ascii&#39; codec can&#39;t encode characters
- 华为手机如何查看WiFi密码
- 使用for in循环遍历json对象的数据
热门文章
- 有关于CSS的面试题和练习
- 从零开始学android开发-adt-bundle-eclipse下的修改android app名称
- zoj3820 Building Fire Stations 树的中心
- Android平台上长连接的实现
- [Express] Level 5: Route Instance -- refactor the code
- 放肆的使用UIBezierPath和CAShapeLayer画各种图形
- Linux内核高端内存 转
- Java SimpleDateFormat 函数
- [golang学习] goroutine调度
- Java最重要的21个技术点和知识点之JAVA面向对象