页面上两次CSS参考 [英] twice css reference on a page
本文介绍了页面上两次CSS参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
我在我的项目中使用asp.net主题.在Web配置中,将主题和cssStyleSheetTheme声明为默认值.
Hi All!
I''m using asp.net theme in my project. in a web config, declaring the theme and cssStyleSheetTheme as default.
<pages theme="Default" styleSheetTheme="Default"></pages>
在内容页面中,css引用出现两次.头标签的第一个开始,标题标签下的第二个开始.
有谁能解决这个问题?
ps:抱歉,我的英语不好.
in content page, css references comes twice. one start of the head tag, second under of the title tag.
is there anybody who could solve this problem?
p.s: sorry for my bad english.
推荐答案
尝试一次仅使用两个属性之一:
Try using only one of the two attributes at once:
<pages theme="Default" />
或
or
<pages styleSheetTheme="Default" />
看看:在ASP.NET 2.0中使用主题 [
Take a look at: Working with Themes in ASP.NET 2.0[^]
Hope it helps.
Ahmed Djobby.
这篇关于页面上两次CSS参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文