开发者

ASP website not rendering style when redirected to log-in?

I am a little lost of why my log-in page is not rendering the styling when t开发者_运维问答he default page is redirected to it.

1: is the page I get when I load my website from VS.

2: is the page I should get. (I do get the styling when I enter the log-in page direct URL)

What do I have to do to fix this?

ASP website not rendering style when redirected to log-in?


Is it possible that css file is generated from a asp page? The default webserver from VS doesn't support asp files.

Things you can check: is the css file called? (network inspector) Is the html of the login page completely valid? Is it an internal redirect or external redirect? A internal redirect can have a different location and therefore maybe unable to locate the css file.


Make sure that the path to your CSS file is correctly specified in your login page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜