Home > > ie 條件式註解,Conditional Comments [if IE]

ie 條件式註解,Conditional Comments [if IE]

2010年7月27日星期二
<!--[if IE]>
<p>您正在使用的瀏覽器為 ie 。</p>
<![endif]-->


<!--[if IE 6]>
<p>您正在使用的瀏覽器為 ie6 。</p>
<![endif]-->


<!--[if IE 7]>
<p>您正在使用的瀏覽器為 ie7 。</p>
<![endif]-->


<!--[if lt IE 7]>
<p>您正在使用的瀏覽器為比 ie7 較舊的版本。</p>
<![endif]-->


<!--[if gte IE 8]>
<p>您正在使用的瀏覽器為 ie8 或比 ie8 更新的版本。</p>
<![endif]-->


<!--[if !IE]>-->
<p>您正在使用的瀏覽器不是 ie 。</p>
<!--<![endif]-->


<!--[if !(IE 6)]>
<p>您正在使用的瀏覽器為 ie ,但不是 ie6 。</p>
<![endif]-->


<!--[if (gte IE 5.5)&(lt IE 7)]>
<p>您正在使用的瀏覽器為 ie5.5 或 ie6 。</p>
<![endif]-->


<!--[if (IE 7)|(IE 6)]>
<p>您正在使用的瀏覽器為 ie7 或 ie6 。</p>
<![endif]-->


<!--[if gte IE 7]><!-->
<p>您正在使用的瀏覽器為 ie7 或比 ie7 更新的版本,或不是使用 ie 。</p>
<!--<![endif]—>



 



 



http://boohover.pixnet.net/blog/post/12309095

0 Responses to "ie 條件式註解,Conditional Comments [if IE]"