ASP调用 横向排列问题 着急~

来源:百度知道 编辑:UC知道 时间:2024/06/02 12:19:09
那位高手能把这个输出改成横向的撒~
编程这个东西还真难~

<table width="770" height="80" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#339966">
<!--DWLayoutTable-->
<tr>
<td width="770" height="54" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#339966">
<%StrSql = "select * from sogo_link where sogo_link_yes_no=1 order by id desc"
Set rs = server.CreateObject("ADODB.RecordSet")
rs.Open StrSql,Conn,1,2
if rs.eof then
else
for link=0 to rs.recordcount
if rs.eof or link=rs.recordcount then exit for
%>
<tr onmouseover="this.bgColor='#ffffff';"onmouseout="this.bgColor='#efefef';"bgcolor="#e

★★★★★★★代码如下★★★★★★
<%
Dim LineNum
LineNum=5 '可以修改这个数字来控制每行显示几个
%>
<table width="770" height="80" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#339966">
<!--DWLayoutTable-->
<tr>
<td width="770" height="54" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#339966">
<tr onmouseover="this.bgColor='#ffffff';"onmouseout="this.bgColor='#efefef';"bgcolor="#efefef">
<%
StrSql = "select * from sogo_link where sogo_link_yes_no=1 order by id desc"
Set rs = server.CreateObject("ADODB.RecordSet")
rs.Open StrSql,Conn,1,2
if rs.eof then
else
for link=0 to rs.recordcount <