0
在asp.net web表单的项目,我需要外部样式表只有内容页添加,是否可以将样式表仅添加到内容页面?
如果我把CSS链接<%@ Page>
声明后,它提供了一个错误说
Error 103 Validation (XHTML 1.0 Transitional): Content is not supported outside 'script' or 'asp:content' regions.
如果我把这里面<asp:Content>
标记错误是
Error 104 Cannot switch views: Validation (XHTML 1.0 Transitional): Element 'link' cannot be nested within element 'td'.
是否有可能一个样式表仅添加到内容页?