标题:一个奇怪的问题
取消只看楼主
belin2000
Rank: 3Rank: 3
等 级:论坛游侠
威 望:5
帖 子:975
专家分:194
注 册:2004-6-2
结帖率:0
 问题点数:0 回复次数:3 
一个奇怪的问题

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">&nbsp;&nbsp;----&gt;今天是:<%=(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">&nbsp;&nbsp;&nbsp;--<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>--&nbsp;</td> <td colspan="2" align="right" valign="middle" class="zi">&gt;&gt;&gt;<a href="load.htm">留言本登陆</a>&lt;&lt;&lt;&nbsp;&nbsp;</td> </tr> <tr valign="middle"> <td height="18" colspan="3" class="zi">你现在的位置是:&gt;&gt;&gt;<a href="index.asp">首页</a>&gt;&gt;&gt;<a href="gbook.aspx">留言本</a>&gt;&gt;&gt;新用户注册</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">&nbsp;*</span></td> <td width="22%" height="38" class="aspxzi">&nbsp;<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">&nbsp;*</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">&nbsp;*</span></td> <td class="aspxzi">  <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ErrorMessage="确认密码不能为空" Runat="server" ControlToValidate="TextBox3"> </asp:RequiredFieldValidator> </td> <td class="aspxzi">&nbsp;<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%"> &nbsp;</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; }

在我这里运行的时候有个奇怪的问题,为什么 我的主页,首页 那里的字总是比其他字小?(上面红色的地方

2004-09-24 20:27
belin2000
Rank: 3Rank: 3
等 级:论坛游侠
威 望:5
帖 子:975
专家分:194
注 册:2004-6-2
得分:0 
不好意思,我搞定啊。。。

59ita点com(我就爱TA)
2004-09-25 11:05
belin2000
Rank: 3Rank: 3
等 级:论坛游侠
威 望:5
帖 子:975
专家分:194
注 册:2004-6-2
得分:0 

不好意思,好没有做好,现在才开始做留言本,做好了就会在asp.net那里贴出来。

是css的问题。。。!!!


59ita点com(我就爱TA)
2004-09-25 12:03
belin2000
Rank: 3Rank: 3
等 级:论坛游侠
威 望:5
帖 子:975
专家分:194
注 册:2004-6-2
得分:0 
好啊,我已经想到怎么做了,现在就是要把代码写好啊!哈哈。

59ita点com(我就爱TA)
2004-09-25 12:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-5668-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.086991 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved