简体   繁体   中英

CSS template not working with Login.aspx page

I've finished building my ASP.NET website. 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!

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 ../

ex:

href="~/Styles/Site.css"
href="../Styles/Site.css"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM