ASP 怎么让横着排列 帮助

来源:百度知道 编辑:UC知道 时间:2024/05/23 16:25:20
目前是竖着排,怎么样才能让它横着排,每6个转行。如此链接中的图片
sql="select * from admin order by look desc" Set rs=Server.CreateObject("ADODB.RecordSet") rs.Open sql,conn,1,1if rs.eof and rs.bof thenresponse.write "还没有用户" else rscount=rs.recordcount rs.pagesize=20 Page_Size=rs.pagesize page=request.QueryString("page") if page="" then page=1 '设置变量初始值PAGE=1 else page=cint(page) if page page=1 end if if page>rs.pagecount then page=rs.pagecount end if end if rs.absolutepage=pagedim ii = 1end if %>用户列表body,td,th { font-size: 12px;}a:link { color: #261cdc; text-decoration: none;}a:visited { text-decoration: none; color: #261cdc;}a:hover { text-decoration: none; color: #FF0000;}a:active { text-decoration: none;}--> n=0 Do while not rs.eof and n id=rs("id") user=rs("username") look=rs("look") sql="select * from Music where username='"&user&"'

<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
a=1
do while not rs.eof and how <=rs.pagesize
%>
<td><table height="132" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" bgcolor="F2F2F2"><br>
<table width="142" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="142"><div align="center"><a href="productxx.asp?id=<%=rs(&