asp多行多列显示图片

来源:百度知道 编辑:UC知道 时间:2024/06/26 00:16:57
我想在这代码中设成3行3列图片显示,应该如何设置?请各位大侠帮帮忙吧
<table width="250" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">点击率:<%=(Recordset1.Fields.Item("点击率").Value)%></div></td>
</tr>
<tr>
<td height="200"><div align="center"><A HREF="seying_1.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & Recordset1.Fields.Item("id").Value %>"><img src="images/foshan_x/<%=(Recordset1.Fields.Item("id").Value)%>.gif" /></A></div></td>
</tr>
<tr>
<td><div align="left"><%=(Recordset1.Fields.Item("说明").Value)%></div></td>
</tr>
</table>

3行3列是吗? 简单的很..兄台.复制代码进去试试.
<div style="width:1002px;">
循环开始
<div style="float:left;width:250px;margin:0 25px 0 25px;"><table width="250" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">点击率:<%=(Recordset1.Fields.Item("点击率").Value)%></div></td>
</tr>
<tr>
<td height="200"><div align="center"><A HREF="seying_1.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & Recordset1.Fields.Item("id").Value %>"><img src="images/foshan_x/<%=(Recordset1.Fields.Item("id").Value)%>.gif" /></A></div></td>
</tr>
<tr>
<td><div align="left"><%=(Recordset1.Fields.Item("说明").Value)%>