ASP.NET - Issues with CSS

I am working on a .NET website.  Below images show the code on my ASP.NET page (ASPXpAGE.JPG) and the CSS that it uses (CSS.jpg).  

The Webpage (WebPage.jpg) displays as below but when I log in the Main Menu (MainMenu.jpg) displays correctly.  

I need "Single Sign On" to display like the "Main Menu".

Any ideas how to resolve?

<table >
	<tr align="center" >
			<asp:Label ID="lblDomainLoginMessage" Runat="server"></asp:Label>
	<tr align="center" class="subTitle">
			Single Sign On
	<tr align="center">
			<br/><br />
	<tr align="center">
			<asp:Button ID="btnDomainLogin" Runat="server" Text="Login" OnClick="btnDomainLogin_Click" ></asp:Button>
</table >

Open in new window

    background-color: #7F8082;
    color: #FFFFFF;
    font-size: small;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;

Open in new window

Who is Participating?
guru_samiConnect With a Mentor Commented:
From what I understand, you see the CSS applied after you are login but now when you are not. If that is correct then you need to explicitly allow access to your css file by adding this to your root web.config.
<location path="yourstyles.css"> 
        <allow users="*"/> 

Open in new window

Refer this article.
CipherISAuthor Commented:
Thank You!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.