regedit.aspx
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>留言本注册</title> <%DateTime dt=DateTime.Today; String cur; cur=dt.ToLongDateString(); %> <link href="sy.css" rel="stylesheet" type="text/css"> <style> <!-- span.aspxzi { font-size: 9pt; color: #FF0000 } --> </style> </head> <body topmargin="0">
<table width="766" border="0" cellpadding="0" cellspacing="0" align=center> <!--DWLayoutTable--> <tr align="center" valign="middle"> <td height="95" colspan="3"> <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1"> <tr> <td align=left valign=center class="redzi"> ---->今天是:<%=(cur)%></td> </tr> </table> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="780" height="132"> <param name="movie" value="images/load.swf"> <param name="quality" value="high"> <embed src="images/load.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="132"></embed> </object></td> </tr> <tr valign="middle"> <td height="14" colspan="3"> </td> </tr> <tr valign="middle" bgcolor="#E6E6E6"> <td width="433" height="17" valign="middle" class="zi"> --<a href="index.asp">我的首页</a>--<a href="ryi.asp">我的荣誉</a>--<a href="tjbook.htm">我的推荐书</a>--<a href="gbook.aspx">留言本</a>--<a href="other.htm">其他服务</a>--<a href="aboutme.htm">关于我们</a>-- </td> <td colspan="2" align="right" valign="middle" class="zi">>>><a href="load.htm">留言本登陆</a><<< </td> </tr> <tr valign="middle"> <td height="18" colspan="3" class="zi">你现在的位置是:>>><a href="index.asp">首页</a>>>><a href="gbook.aspx">留言本</a>>>>新用户注册</td> </tr> <tr><form name="form1" method="post" action="" runat="server"> <td height="293" colspan="2" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="4" class="redzi">注册前请仔细阅读右边的注意事项。</td> </tr> <tr> <td class="zi" style="width: 13%" height="38">姓名:</td> <td style="width: 31%" height="38"> <asp:TextBox ID="TextBox1" Runat="server"></asp:TextBox> <span class="redzi"> *</span></td> <td width="22%" height="38" class="aspxzi"> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ErrorMessage="名字不能为空" Runat="server" ControlToValidate="TextBox1"> </asp:RequiredFieldValidator> </td> <td width="24%" height="38"> </td> </tr> <tr> <td class="zi" style="width: 13%; height: 23px">密码:</td> <td style="width: 31%; height: 23px"> <asp:TextBox ID="TextBox2" Runat="server"></asp:TextBox> <span class="redzi"> *</span></td> <td style="height: 23px" class="aspxzi"> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="密码不能为空" Runat="server" ControlToValidate="TextBox2"> </asp:RequiredFieldValidator> </td> <td style="height: 23px"> </td> </tr> <tr> <td class="zi" style="width: 13%">密码确认:</td> <td style="width: 31%"> <asp:TextBox ID="TextBox3" Runat="server"></asp:TextBox> <span class="redzi"> *</span></td> <td class="aspxzi"> <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ErrorMessage="确认密码不能为空" Runat="server" ControlToValidate="TextBox3"> </asp:RequiredFieldValidator> </td> <td class="aspxzi"> <asp:CompareValidator ID="CompareValidator1" ErrorMessage="两次输入的密码不同" Runat="server" ControlToValidate="TextBox3" ControlToCompare="TextBox2"> </asp:CompareValidator> </td> </tr> <tr> <td class="zi" style="width: 13%" height="28"><span class="zi">E-mail</span>:</td> <td style="width: 31%" height="28"> <asp:TextBox ID="TextBox4" Runat="server"></asp:TextBox></td> <td height="28"> </td> <td height="28"> </td> </tr> <tr> <td class="zi" style="width: 13%">性别:</td> <td style="width: 31%"> </td> <td> </td> <td> </td> </tr> <tr> <td style="width: 13%"> </td> <td style="width: 31%"> </td> <td> </td> <td> </td> </tr> </table> </td></form> <td width="170" valign="top"><span class="redzi">注意事项:</span><br> </td> </tr> <tr align="center" valign="top"> <td height="48" colspan="3"><!--#include file="button.inc"--></td> </tr> <tr> <td height="1"></td> <td width="177"></td> <td></td> </tr> </table> </body> </html>
sy.css
.zi { font-size: 9pt; color: #030303; text-decoration: none; } a:link { font-family: "宋体"; font-size: 9pt; font-weight: normal; color: #030303; text-decoration: blink; TEXT-DECORATION: none } a:visited { font-size: 9px; color: #030303; text-decoration: blink; TEXT-DECORATION: none } a:hover { font-family: "宋体"; font-size: 9pt; font-weight: normal; color: #FF9B37; text-decoration: blink; TEXT-DECORATION: none } .redzi { font-size: 9pt; color: #FF0000; }
在我这里运行的时候有个奇怪的问题,为什么 我的主页,首页 那里的字总是比其他字小?(上面红色的地方