Having an issue centering the login control that appears after selecting login using the loginstatus control.
<div id="linkContent">
<asp:LoginStatus ID="LoginStatus2" runat="server"
LogoutAction="RedirectToLoginPage" />
</div>
Tried various methods found on Google, but none seem to be working. Using IE 9.
Attempted:
#linkContent
{
text-align: center;
}
Also tried:
<div id="linkContent">
<asp:LoginStatus ID="LoginStatus2" runat="server"
LogoutAction="RedirectToLoginPage" style="text-align: center;" />
</div>
Additionally attempted:
#linkContent
{
margin-left:auto;
margin-right:auto;
}
Even redirected login to my own Login.aspx, but still no luck:
In webconfig:
<authentication mode="Forms" >
<forms loginUrl="Login.aspx" />
</authentication>
None of these solutions have proven successful. The login control remains left aligned. The loginStatus control is utilized within a master page.
Any assistance would be greatly appreciated.
Thank you.