IE的if条件Hack

| |
[不指定 2008/10/04 20:51 | by Else ]
IE的if条件Hack
找这个出来的原因就是怕还有用98的机子,一些国家可能还有在用吧!以前做好一个网页后,后来发现对方用的是98,ie5 还有在这里还是要记一下

<!--[if IE]> Only IE <![endif]-->
所有的IE可识别
<!--[if IE 5.0]> Only IE 5.0 <![endif]-->
只有IE5.0可以识别
<!--[if gt IE 5.0]> Only IE 5.0+ <![endif]-->
IE5.0包换IE5.5都可以识别
<!--[if lt IE 6]> Only IE 6- <![endif]-->
仅IE6可识别
<!--[if gte IE 6]> Only IE 6/+ <![endif]-->
IE6以及IE6以下的IE5.x都可识别
<!--[if lte IE 7]> Only IE 7/- <![endif]-->
仅IE7可识别




作者:Else 's Blog
地址:http://www.aixq.com/post/1239/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“IE的if条件Hack”相关内容
  • 中查看更多“IE的if条件Hack”相关内容
  • 中查看更多“IE的if条件Hack”相关内容
  • 中查看更多“IE的if条件Hack”相关内容
  • 中查看更多“IE的if条件Hack”相关内容
  • 中查看更多“IE的if条件Hack”相关内容
  • Tags: , , ,
    自己 感悟 信念 | 评论(0) | 引用(0) | 阅读(228)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]