高分求助(关于表格的问题)快来啊
大家看看这个页面:
<table width="650" cellspacing="0" cellpadding="0" border="1" style="border-collapse: collapse" cellpadding="0" bordercolor="<%=bordercolor%>" align="center">
<tr>
<td valign="top" rowspan="3" width="110" height="1" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="164" align=center>
<tr >
<td valign="top">
<p align="center"> 编号:<%=j%> </p>
</td>
</tr>
</table>
</td>
<td height="18" bgcolor="<%=infobg%>"> <img src="pic/posttime.gif"> 发表于:<%=rs("guestdate")%>
<%if rs("email")<>"" then %>
<a href="mailto:<%=rs("email")%>"> <img src="pic/email.gif" border="0">E-MAIL</a>
<%else%><img src="pic/email1.gif" border="0">E-MAIL<%end if%>
</td>
</tr>
<%
guestcontent=ubbcode(rs("guestcontent"))
guestcontent=replace(guestcontent,chr(13),"<br>")
%>
<%'中间的问题及回复%>
<tr>
<td valign="top">
<table width="500" align="center" height="124" cellspacing="0" cellpadding="0">
<tr>
<%if rs("guestreply")<>"" then %>
<td width=1 bgcolor=<%=bordercolor%>></td>
<%if j mod 2<>0 then%>
<td style="padding-left:4px;MARGIN-TOP:2px;MARGIN-BOTTOM:2px;MARGIN-LEFT:2px;MARGIN-RIGHT:2px; word-break: break-all; font-size: 10pt" width="300" height="71"><%else%><td style="padding-left:4px;MARGIN-TOP:2px;MARGIN-BOTTOM:2px;MARGIN-LEFT:2px;MARGIN-RIGHT:2px; word-break: break-all; font-size: 10pt" height="71" width=300>
<%end if%>
<%
secretly=trim(rs("secretly"))
if secretly<>"" then
%>
<br>
<img src="images/hidden.gif"><font color="#800000">对不起!此信息只能咨询老师可以看!!</font><br>
<%else%>
<br>
<%=guestcontent%>
<br>
</p></td></td>
<td width=1 bgcolor=<%=bordercolor%>><td>
<%end if%>
<%else%>
<br>
<%=guestcontent%>
<%end if%>
<%if rs("guestreply")<>"" then %>
<%if j mod 2=0 then%>
<td style="padding-left:4px;MARGIN-TOP:2px;MARGIN-BOTTOM:2px;MARGIN-LEFT:2px;MARGIN-RIGHT:2px; word-break: break-all; font-size: 10pt" width="300" height="71" width=300><%else%><td style="padding-left:4px;MARGIN-TOP:2px;MARGIN-BOTTOM:2px;MARGIN-LEFT:2px;MARGIN-RIGHT:2px; word-break: break-all; font-size: 10pt" width="300" height="71" width=300>
<%end if%>
<font color="#FF0000">回复:</font><p class="font">
<%=ubbcode(rs("guestreply"))%> </p>
<p><font color="#666666"> 回复时间:<%=rs("redate")%></font></p>
</td>
<td width=1 bgcolor=<%=bordercolor%>></td><%end if%></tr>
</table>
</td>
</tr>
<tr>
<td height="1" valign="bottom" bgcolor="<%=infobg%>">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="537" bordercolorlight="#183EAD" bordercolordark="#183EAD">
<tr>
<td width="516" height="18"><img src="images/ip.GIF" width="15" height="13">IP:<%=ip%>
</td>
<td width="15">
<p align="right"><a title="返回网页顶部" href="#top"><img src="images/gotop.gif" border="0" ></a></td>
</tr>
</table>
</td>
</tr>
</table>
<div align="center">
<%
rs.movenext
i=i+1
j=j-1
loop
%>
<table align=center cellpadding="0" bgcolor="<%=tablebgcolor%>" cellspacing="0" width="650" height="17">
<tr>
<td width="100%" style="padding: 6"> 共有<%=Rs.recordcount%>条 共有<%=page%>/<%=Rs.pagecount%>页
跳到第
<% for go=1 to Rs.pagecount
%>
<a href=index.asp?page=<%=go%>><%=go%></a>
<%next%>
页
<% if page=1 then %>
<%else%>
<a href=index.asp?page=<%=page-1%>>上一页</a>
<%end if%>
<% if Rs.pagecount-page <> 0 then %>
<a href=index.asp?page=<%=page+1%>>下一页</a>
<%else%>
<%end if%>
</td>
<%end if%>
</tr>
</table>
</center>
</div>
<%
connclose()
%>
<hr noshade width="650" color="<%=bordercolor%>" size="1">
添加的<%=guestcontent%>如果用中文的就没有问题.如果用英文的一长串字母就会把表格挤的长长的.而中文就没有这个问题.你说晕不.
这里是添加后的效果.大家来看看啊.
http://flying.redv.com:8080/lq/xinlingxiangyue/ask_answer/index.asp
谢谢了啊.