首先说明一下:我这两天都在学校没有上网,所以没有很快的回复。不好意思!
代码如下:(在这个页面里我添加了几个服务器控件,我想不会影响您的阅读)
<%@ Page language="c#" Codebehind="login.aspx.cs" AutoEventWireup="false" Inherits="lilanbookshop.login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>login</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.
</HEAD>
<body>
<form id="login" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="300" align="left" border="0">
<TR>
<TD noWrap align="left" colSpan="2">
<P>
<img border="0" src="image/title_login.jpg" width="760" height="204"></P>
</TD>
</TR>
<TR>
<TD noWrap align="left">
<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="300" align="left" border="0">
<TR>
<TD noWrap align="left"> <FONT color="#6699ff"><EM><FONT size="5"> </FONT></EM>
<FONT size="5"><EM>Li Lan</EM> 网上书店是一家个性格化十足的</FONT></FONT></TD>
</TR>
<TR>
<TD noWrap align="left"><FONT color="#6699ff" size="5">网上书店,我们的宗旨是为客户提供价廉、</FONT></TD>
</TR>
<TR>
<TD noWrap align="left"><FONT color="#6699ff" size="5">优质的网上服务。请点击登陆按钮<FONT color="#6699ff" size="5">即刻体<FONT color="#6699ff" size="5">验</FONT></FONT></FONT></TD>
</TR>
<TR>
<TD noWrap align="left"><FONT color="#6699ff" size="5">我们的服务吧。</FONT></TD>
</TR>
</TABLE>
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="300" align="left" border="0">
<TR>
<TD noWrap align="left">用户名
</TD>
<TD noWrap align="left">
<asp:TextBox id="TextBox1" runat="server" Width="189px"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 12px" noWrap align="left">密 码</TD>
<TD style="HEIGHT: 12px" noWrap align="left">
<asp:TextBox id="TextBox2" runat="server" Width="187px"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 41px" noWrap align="left" colSpan="2">
<asp:Button id="Button1" runat="server" Text="登陆" Width="70px"></asp:Button>
<asp:Button id="Button2" runat="server" Text="取消" Width="70px"></asp:Button></TD>
</TR>
<TR>
<TD noWrap align="left" colSpan="2">忘记密码</TD>
</TR>
</TABLE>
</TD>
<TD noWrap align="left"></TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>