求一个好看的ASP.NET登录界面,在线等啊
发布网友
发布时间:2022-04-20 03:24
我来回答
共1个回答
热心网友
时间:2023-09-03 20:20
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>登陆注册页面</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #016aa9;
overflow:hidden;
}
.STYLE1 {
color: #000000;
font-size: 12px;
}
-->
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<table height="92%" border="0" align="center" cellpadding="0" cellspacing="0" style="width: 73%">
<tr>
<td height="134" valign="bottom">
<p> </p></td>
</tr>
<tr>
<td valign="top"><table height="346" border="0" align="center" cellpadding="0" cellspacing="0" style="width: 927px">
<tr>
<td height="246" background="images/hsgbg2.gif"><table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td style="height: 101px"> <table width="72%" height="51" border="0" align="center">
<tr>
<td style="height: 57px"><div style="font-family:宋体; color:#FFFFFF; filter:Glow(Color=#000000,Strength=2);
WIDTH: 100%; FONT-WEIGHT: bold; FONT-SIZE: 19pt; margin-top:5pt">
<div align="center" class="STYLE5">
登陆注册页面</div>
</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 258px">
<tr>
<td style="width: 29%; height: 319px"> </td>
<td width="52%" style="height: 319px" valign="top">
<br />
<br />
<br />
<br />
<table border="0" align="left" cellpadding="0" cellspacing="0" style="width: 42%">
<tr>
<td height="30" style="width: 88px"><div align="center"><span class="STYLE1">用户</span></div></td>
<td width="79%" height="30">
<asp:TextBox ID="TextBox1" runat="server" Width="138px" style="height:18px; width:130px;
border:solid 1px #cadcb2; font-size:12px; color:#81b432;"></asp:TextBox></td>
</tr>
<tr>
<td height="30" style="width: 88px"><div align="center"><span class="STYLE1">密码</span></div></td>
<td height="30">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password" style="height:18px; width:130px;
border:solid 1px #cadcb2; font-size:12px; color:#81b432;"></asp:TextBox></td>
</tr>
<tr style="display:none">
<td height="30" style="width: 88px"><div align="center"><span class="STYLE1">权限</span></div></td>
<td height="30">
<asp:DropDownList ID="cx" runat="server">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 88px; height: 22px;"> </td>
<td style="height: 22px">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="登陆" />
<input id="Reset1" type="reset" value="返回" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>