
以下ASP代码,如何分两列显示?
<tablewidth="1003"border="0"cellpadding="0"cellspacing="0"><!--DWLayoutTable--><tr><t...
<table width="1003" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top" class="td">
<table width="207" border="0">
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td width="64%" rowspan="2" align="left"> <a href="boss_show.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "id=" & Recordset1.Fields.Item("id").Value %>"></a> <img src="<%=(Recordset1.Fields.Item("img").Value)%>" width="160" height="160"></td>
<td align="left" width="36%"><%=(Recordset1.Fields.Item("bt").Value)%></td>
</tr>
<tr>
<td align="left"><%=(Recordset1.Fields.Item("time").Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
</table>
<br></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="329"> </td>
</tr>
</table> 展开
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="674" height="548" valign="top" class="td">
<table width="207" border="0">
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td width="64%" rowspan="2" align="left"> <a href="boss_show.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "id=" & Recordset1.Fields.Item("id").Value %>"></a> <img src="<%=(Recordset1.Fields.Item("img").Value)%>" width="160" height="160"></td>
<td align="left" width="36%"><%=(Recordset1.Fields.Item("bt").Value)%></td>
</tr>
<tr>
<td align="left"><%=(Recordset1.Fields.Item("time").Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
</table>
<br></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="329"> </td>
</tr>
</table> 展开
1个回答
展开全部
参考答案 穿别人的鞋,走自己的路,让他们打的找去吧。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询