CSS SharePoint 2010中的CSS条件注释

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS SharePoint 2010中的CSS条件注释相关的知识,希望对你有一定的参考价值。

Use 

<SharePoint:CSSRegistration Name="foo.css" ConditionalExpression="gte IE 7" runat="server" />

Instead of 

<!--[if gte IE 7]>
<link rel="stylesheet" type="text/css" href="foo.css"/>
<![endif]-->


The former will generate the latter when the page is rendered.

以上是关于CSS SharePoint 2010中的CSS条件注释的主要内容,如果未能解决你的问题,请参考以下文章