[英]CSS template not working with Login.aspx page
I've finished building my ASP.NET website. 我已经完成了ASP.NET网站的建设。 I downloaded many templates for the design, I applied them to the master page, and they worked fine for my pages.But "Login.aspx" and "ChangePassword.aspx" and "ChangePasswordSuccess.aspx" and "Register.aspx" which are built in with the website don't apply the templates!
我下载了许多用于设计的模板,将它们应用到母版页,它们在我的页面上正常工作。但是“ Login.aspx”,“ ChangePassword.aspx”,“ ChangePasswordSuccess.aspx”和“ Register.aspx”是网站内置的请勿应用模板!
They are not applying the new look only, They worked fine with the default style 他们不仅使用新外观,而且使用默认样式也可以正常工作
Can any one help me with this, I don't understand the problem. 任何人都可以帮我这个忙,我不明白这个问题。
Thanks. 谢谢。
try to write the path of the css file with ~ or with ../ 尝试用〜或../来写css文件的路径
ex: 例如:
href="~/Styles/Site.css"
href="../Styles/Site.css"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.