dreamweaver 编写asp程序时怎样使重复区域横向排列

来源:百度知道 编辑:UC知道 时间:2024/06/08 00:16:43
dreamweaver 编写asp程序时,单元格重复区域都是以行排列的,比如重复图片时只是每行显示一幅图片,求问,怎样才能使图片每行显示3-5个后再起一行显示。
使用什么插件可以实现,动态的,急用

<body>
<table width="300" border="0" cellspacing="0" cellpadding="5">
<tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>

<td height="30" align="left" valign="middle" id="<% dim bianliang
bianliang=bianliang+1
Response.Write(bianliang) %>">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="middle"><%=(Recordset1.Fields.Item("username").Value)%></td>
</tr>
</table>
</td>
<% If bianliang mod 3=0 Then Response.Write("</tr><tr>") %>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRo