做ASP网页中重复区域是测试时显示的是竖排的 怎么显示横排? 贴上代码 30
<formid="form1"name="form1"method="post"action=""><tablewidth="693"height="181"border...
<form id="form1" name="form1" method="post" action="">
<table width="693" height="181" border="0">
<tr>
<td height="39" colspan="2" align="center"><strong>主 题 </strong></td>
<td colspan="2" align="center"><strong>留 言 者</strong></td>
<td colspan="2" align="center"><p><strong>发表时间</strong></p></td>
</tr>
<tr>
<td height="32" colspan="2" align="center"><a href="ShowMessage.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "ID=" & reMessage.Fields.Item("ID").Value %>"><%=(reMessage.Fields.Item("subject").Value)%></a></td>
<td colspan="2" align="center"><%=(reMessage.Fields.Item("author").Value)%></td>
<td colspan="2" align="center"><%=(reMessage.Fields.Item("time").Value)%></td>
</tr>
<tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT reMessage.EOF))
%>
<td height="39" colspan="2" align="center"><%=reMessage("subject")%> </td>
<td colspan="2" align="center"><%=reMessage("author")%> </td>
<td colspan="2" align="center"><%=reMessage("time")%> </td>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
reMessage.MoveNext()
Wend
%>
</tr>
<tr>
<td width="137" height="61" align="center"><% If MM_offset <> 0 Then %>
<strong><a href="<%=MM_moveFirst%>">首 页</a></strong>
<% End If ' end MM_offset <> 0 %></td>
<td colspan="2" align="center"><% If Not reMessage.EOF Or Not reMessage.BOF Then %>
<strong><a href="<%=MM_moveNext%>">下一页</a></strong>
<% End If ' end Not reMessage.EOF Or NOT reMessage.BOF %></td>
<td colspan="2" align="center"><p>
<% If Not MM_atTotal Then %>
<strong><a href="<%=MM_moveLast%>"><br />
最后页</a></strong>
<% End If ' end Not MM_atTotal %>
</p>
<p> </p></td>
<td width="145" align="center"><p> </p>
<% If MM_offset <> 0 Then %>
<p><strong><a href="<%=MM_movePrev%>">上一页</a></strong></p>
<% End If ' end MM_offset <> 0 %> </td>
</tr>
</table>
</form>我想显示的是5排 代码怎么修改? 展开
<table width="693" height="181" border="0">
<tr>
<td height="39" colspan="2" align="center"><strong>主 题 </strong></td>
<td colspan="2" align="center"><strong>留 言 者</strong></td>
<td colspan="2" align="center"><p><strong>发表时间</strong></p></td>
</tr>
<tr>
<td height="32" colspan="2" align="center"><a href="ShowMessage.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "ID=" & reMessage.Fields.Item("ID").Value %>"><%=(reMessage.Fields.Item("subject").Value)%></a></td>
<td colspan="2" align="center"><%=(reMessage.Fields.Item("author").Value)%></td>
<td colspan="2" align="center"><%=(reMessage.Fields.Item("time").Value)%></td>
</tr>
<tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT reMessage.EOF))
%>
<td height="39" colspan="2" align="center"><%=reMessage("subject")%> </td>
<td colspan="2" align="center"><%=reMessage("author")%> </td>
<td colspan="2" align="center"><%=reMessage("time")%> </td>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
reMessage.MoveNext()
Wend
%>
</tr>
<tr>
<td width="137" height="61" align="center"><% If MM_offset <> 0 Then %>
<strong><a href="<%=MM_moveFirst%>">首 页</a></strong>
<% End If ' end MM_offset <> 0 %></td>
<td colspan="2" align="center"><% If Not reMessage.EOF Or Not reMessage.BOF Then %>
<strong><a href="<%=MM_moveNext%>">下一页</a></strong>
<% End If ' end Not reMessage.EOF Or NOT reMessage.BOF %></td>
<td colspan="2" align="center"><p>
<% If Not MM_atTotal Then %>
<strong><a href="<%=MM_moveLast%>"><br />
最后页</a></strong>
<% End If ' end Not MM_atTotal %>
</p>
<p> </p></td>
<td width="145" align="center"><p> </p>
<% If MM_offset <> 0 Then %>
<p><strong><a href="<%=MM_movePrev%>">上一页</a></strong></p>
<% End If ' end MM_offset <> 0 %> </td>
</tr>
</table>
</form>我想显示的是5排 代码怎么修改? 展开
2014-04-23
展开全部
干嘛要用table啊,用div排列多方便,想横着就横着,想竖着就竖着,而且部署完div之后完全不用修改代码页面,直接修改css文件就可以了
追问
求助 我现在急着用 能不能看看我这个怎么改?哪里有错误啊?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询