【求助】在线等!!!
我有段代码,是两行显示,每行是7个,怎么改让图片一行显示?
代码如下:
<MARQUEE id=scrollarea
onmouseover=scrollarea.stop();
onmouseout=scrollarea.start(); scrollAmount=2 scrollDelay=50 width=550 height=120>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<%set rs=Server.Create
Object("Adodb.Recordset")
sql="select * from SMT_yp where SMT_key=3 order by SMT_id desc"
rs.open sql,conn,1,1
if not rs.eof then
n=0
do while not rs.eof
n=n+1%>
<td width="174"><a href="co.asp?id=<%=rs("SMT_id")%>"><img src="<%=rs("SMT_logo")%>" width="180" height="120" border="0" /></a></td>
<%if n mod 7=0 then response.write "</tr><tr align=center>"
rs.movenext
loop
end if
rs.close
set rs=nothing%>
</TR></TBODY></TABLE></MARQUEE>
[用户系统信息]Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)