• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

css各种样式实现IE浏览器条件判断代码

其他 水墨上仙 1321次浏览

这段代码用来判断ie的版本,不同的版本调用不同的样式

<!-- [if IE]>-->
According to the conditional comment this is Internet Explorer

<!-- [if IE 5]>-->
According to the conditional comment this is Internet Explorer 5

<!-- [if IE 5.0]>-->
According to the conditional comment this is Internet Explorer 5.0

<!-- [if IE 5.5]>-->
According to the conditional comment this is Internet Explorer 5.5

<!-- [if IE 6]>-->
According to the conditional comment this is Internet Explorer 6

<!-- [if IE 7]>-->
According to the conditional comment this is Internet Explorer 7

<!-- [if gte IE 5]>-->
According to the conditional comment this is Internet Explorer 5 and up

<!-- [if lt IE 6]>-->
According to the conditional comment this is Internet Explorer lower than 6

<!-- [if lte IE 5.5]>-->
According to the conditional comment this is Internet Explorer lower or equal to 5.5

<!-- [if gt IE 6]>-->
According to the conditional comment this is Internet Explorer greater than 6

 


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明css各种样式实现IE浏览器条件判断代码
喜欢 (0)
加载中……