IE的条件html规则
我正在尝试使用IE和其他浏览器的条件规则进行重定向。问题是,它只在IE中有效,而在重定向页面中的所有其他页面中都有效。 这是页面的代码:IE的条件html规则,html,if-statement,conditional,Html,If Statement,Conditional,我正在尝试使用IE和其他浏览器的条件规则进行重定向。问题是,它只在IE中有效,而在重定向页面中的所有其他页面中都有效。 这是页面的代码: <HTML> <HEAD> <TITLE>Benessere Globale</TITLE> <meta charset="utf-8"> <!--[if lt IE9]> <p class="chromeframe">Stai usando una versione
<HTML>
<HEAD>
<TITLE>Benessere Globale</TITLE>
<meta charset="utf-8">
<!--[if lt IE9]>
<p class="chromeframe">Stai usando una versione di Internet Explorer <strong>obsoleta</strong>. Per una migliore visualizzazione di questo sito <a href="http://www.microsoft.com/it-it/download/internet-explorer-9-details.aspx">aggiorna il tuo browser alla versione IE9 o IE10</a> o <a href="http://www.google.com/chromeframe/?redirect=true">attiva Google Chrome Frame</a>.<br><br>
<span>Per visualizzare comunque il sito <a href="/beta/shtml/home.shtml" >clicca quì</a></span>
</p>
<![endif]-->
<!--[if !IE]>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://www.benessereglobale.net/beta/shtml/home.shtml">
<![endif]-->
</HEAD>
<BODY>
<p>Redirect in corso...</p>
</BODY>
</HTML>
贝内塞尔环球酒店
在科索重定向
谢谢只有IE可以阅读条件注释,而不是其他浏览器。只有IE可以阅读条件注释
但是新版本(IE10或更高版本)无法读取条件注释。我知道,上述条件仅适用于IE。其他浏览器忽略了这一点。请删除第二部分并仅使用
[如果lt IE9]
。因为IE只能读取条件