IE特有条件注释
2011-03-07 14:56
344 查看
<p>这段文字会在所有浏览器显示</p> <!--[if lte IE 6]> <p>这段文字仅显示在 IE6及IE6以下版本。</p> <p>This message will only appear in versions of Internet Explorer less than or equal to version 6.</p> <![endif]--> <!--[if gte IE 6]> <p>这段文字仅显示在 IE6及IE6以上版本。</p> <p>This message will only appear in versions of Internet Explorer greater than or equal to version 6.</p> <![endif]--> <!--[if gt IE 6]> <p>这段文字仅显示在 IE6以上版本(不包含IE6)。</p> <p>This message will only appear in versions of Internet Explorer greater than version 6.</p> <![endif]--> <!--[if IE 5.5]> <p>这段文字仅显示在 IE5.5。</p> <p>This message will only appear in Internet Explorer 5.5.</p> <![endif]--> <!--在 IE6及IE6以下版本中加载css--> <!--[if lte IE 6]> <link type="text/css" rel="stylesheet" href="css/ie6.css" /> <![endif]--> <p>这段文字会在所有浏览器显示</p>
相关文章推荐
- IE特有的html条件注释使用规则
- HTML:IE特有的条件注释使用规则
- 条件注释判断浏览器<!--[if !IE]><!--[if IE]><!--[if lt IE 6]><!--[if gte IE 6]>
- 针对IE5--IE9的条件注释
- ie的兼容方法,条件注释的方法
- IE的html条件注释
- 使用条件注释判断 IE 浏览器版本
- IE的条件注释
- 学习笔记:IE Hack 条件注释
- ie条件注释
- 条件注释判断浏览器<!--[if !IE]><!--[if IE]><!--[if lt IE 6]><!--[if gte IE 6]>
- 条件注释判断浏览器<!--[if !IE]><!--[if IE]><!--[if lt IE 6]><!--[if gte IE 6]>
- IE条件注释
- IE条件注释
- IE中的条件注释(未解决)
- IE 条件注释详解总结(附实例代码)
- 条件注释判断浏览器<!--[if !IE]><!--[if IE]><!--[if lt IE 6]><!--[if gte IE 6]>
- IE特有注释格式
- HTML条件注释判断IE<!--[if IE]><!--[if lt IE 9]>
- 条件注释判断浏览器<!--[if !IE]><!--[if IE]><!--[if lt IE 6]><!--[if gte IE 6]>