Make the ASP:Login control centre
Following my previous post you cannot use “p” or “div” tags to align a ASP:Login control to the center of the page. So to get this done, you need to set the margin property of the control to “auto”.
<body>
<form id="form1" runat="server">
<div>
<asp :login runat="server" Style="margin:auto"></asp></div>
</form>
</body>
Categories: ASP.NET
Align center, Login control, margin
That works and it’s elegant. Thanks!
BEAUTIFUL!!!!
Just what I needed.