由于某种原因,当我在 Internet Explorer 文档节点和/或用户代理中选择 IE8 时,以下条件不起作用。这以前有效。我在 Windows 8.1 上使用 Internet Explorer 11。
<!--[if lt IE 9]>
<p class="alert alert-info chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->