login控件设置居中
在<asp:login>之前添加标签<div>设置align=center
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<asp:Panel ID="Panel1" runat="server">
<div align="center"> <!--此行-->
<asp:Login ID="Login1" runat="server"
style="margin-left: 0px auto; margin-top: 130px; margin-bottom: 0px auto"
Width="271px">
....
。
/**************************************************************************
                 
原文来自博客园——Submarinex的博客: www.cnblogs.com/submarinex/               
 
*************************************************************************/