创建IE各版本专属CSS方法
作者:dowhatyouwant 来源:5key.net 时间:2007-09-27 12:16:00
IE下专属CSS:
<![if !IE]>
<link rel="stylesheet" type="text/css" href="NOT-IE.css" />
<![endif]>
IE 6 ONLY:
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="IE-6-SPECIFIC.css" />
<![endif]-->
IE 5 ONLY:
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="IE-5-SPECIFIC.css" />
<![endif]-->
IE 5.5 ONLY:
<!--[if IE 5.5000]>
<link rel="stylesheet" type="text/css" href="IE-55-SPECIFIC.css" />
<![endif]-->
IE6或更低:
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="IE-6-OR-LOWER-SPECIFIC.css" />
<![endif]-->
非IE:
<![if !IE]>
<link rel="stylesheet" type="text/css" href="REAL-STYLESHET.css" />
<![endif]>
标签:css,ie
0
投稿
猜你喜欢
thinkphp5实用入门进阶知识点和各种常用功能代码汇总
2023-05-25 02:48:34
Python切片工具pillow用法示例
2021-12-08 21:17:26
网马解密大讲堂——网马解密中级篇(Freshow工具使用方法)
2009-09-16 15:09:00
讲述SQL Server数据转换服务小妙招
2010-07-26 14:43:00
python ddt实现数据驱动
2021-11-11 02:37:08
Dreamweaver层使用八定律
2008-05-16 11:41:00
Python通过requests模块实现抓取王者荣耀全套皮肤
2022-04-06 05:47:12
asp如何在线查询本地机的文件?
2010-06-22 21:19:00
4款Javascript放大镜特效脚本
2009-10-14 20:46:00
在Python的Tornado框架中实现简单的在线代理的教程
2021-12-31 08:51:39
mysql的case when字段为空,null的问题
2024-01-13 14:40:59
java连接Access数据库的方法
2024-01-14 13:41:17
使用K.function()调试keras操作
2022-08-03 05:07:31
python 将对象设置为可迭代的两种实现方法
2023-08-24 18:01:39
浅谈python中的数字类型与处理工具
2022-02-09 01:07:30
用Dreamweaver MX轻松操作表格
2009-05-29 18:41:00
Python离线安装openpyxl模块的步骤
2021-08-10 16:04:04
BootStrap实现响应式布局导航栏折叠隐藏效果(在小屏幕、手机屏幕浏览时自动折叠隐藏)
2023-08-29 17:16:11
JavaScript静态的动态
2024-05-02 16:10:42
解决pip install报错:Cannot connect to proxy问题
2021-05-01 01:14:11