我添加了以下代码来让IE8和IE9使用我的ie8.css,但当我在IE8或IE9上模拟时,似乎根本没有使用它。(没有安装它们,所以我使用IE11开发人员工具照常进行安装。)
<!--[if !IE]><!-->
<link rel="stylesheet" href="<?php HTTP_HOST; ?>/Styles/global-en.css" type="text/css" media="screen" />
<!--<![endif]-->
<!--[if lt IE 9]>
<link rel="stylesheet" href="<?php HTTP_HOST; ?>/Styles/ie8.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="<?php HTTP_HOST; ?>/Styles/ie8.css" type="text/css" media="screen" />
<![endif]-->直播地址:http://bit.ly/1r4dvw5
发布于 2014-03-21 18:24:46
IE11的仿真器有点问题,请查看这篇文章:http://www.impressivewebs.com/ie11-emulation-conditional-comments/
我建议安装像IEtester:http://www.my-debugbar.com/wiki/IETester/HomePage这样的东西
或者要获得更好的体验,请通过http://www.modern.ie安装虚拟机
https://stackoverflow.com/questions/22555908
复制相似问题