T
Ted Ngo
Hi All,
I try to create a login screen using mode="Forms"
Web Config:
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseCookies" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
on my login aspx page:
div id="pnlLogIn">
<table id="Table1" style="WIDTH: 453px" cellSpacing="0"
cellPadding="0" align="center" border="0" runat=server>
<TR>
<TD noWrap> </TD>
</TR>
<TR>
<TD style="PADDING-RIGHT: 5px" noWrap align="right"></TD>
</TR>
<TR>
<TD style="BACKGROUND-POSITION-X: center;
background-image:url(Images/loginheader.gif); width:453px; HEIGHT:
59px" noWrap class=LogInHeader>
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%"
border="0" runat=server>
<TR>
<TD align=center>
<span id="Label3" class=LogInHeader runat=server>Login
Screen</span>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</div>
When I ran it the back ground image does not display for me. I can see
the image in the design view. And also the styles does not work either,
it does not display the text I want
Please help.
Thanks
I try to create a login screen using mode="Forms"
Web Config:
<authentication mode="Forms">
<forms name=".ASPXAUTH"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
cookieless="UseCookies" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
on my login aspx page:
div id="pnlLogIn">
<table id="Table1" style="WIDTH: 453px" cellSpacing="0"
cellPadding="0" align="center" border="0" runat=server>
<TR>
<TD noWrap> </TD>
</TR>
<TR>
<TD style="PADDING-RIGHT: 5px" noWrap align="right"></TD>
</TR>
<TR>
<TD style="BACKGROUND-POSITION-X: center;
background-image:url(Images/loginheader.gif); width:453px; HEIGHT:
59px" noWrap class=LogInHeader>
<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%"
border="0" runat=server>
<TR>
<TD align=center>
<span id="Label3" class=LogInHeader runat=server>Login
Screen</span>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</div>
When I ran it the back ground image does not display for me. I can see
the image in the design view. And also the styles does not work either,
it does not display the text I want
Please help.
Thanks