求助,我想把这段ASP代码,显示为三列,现在是单列,谢谢

来源:百度知道 编辑:UC知道 时间:2024/06/08 10:59:48
求助,我想把这段ASP代码,显示为三列,现在是单列,谢谢
<td height="45" width="90" valign="top" style="border-style: none; border-width: medium"><%
set rs=server.createobject("adodb.recordset")
sql="select top 6 * from news where BigClassName='培训课程1' order by id desc"
rs.open sql,conn,1,1
%>
<table width="100" border="0" cellspacing="1" cellpadding="0" id="table10">
<%i=0
do while not rs.eof%>
<tr align="center">

<table width="100%" height="100">
<tr>
<%
i = 0
Do While Not Rs.Eof
%>
<td>
<table width="100" height="100">
<tr align="center">
<td style='BORDER-bottom: #ffffff 1px dotted' width="25"><p style="margin-top: 2; margin-bottom: 2"> <img src="images/list_08.gif" width="9" height="9" border="0" align="absbottom"></td>
<td width="120" style='BORDER-bottom: #ffffff 1px dotted'><div align="left">
<p style='margin-top:2; margin-bottom:2'><a href="shownews1.asp?id=<%=rs("id")%>" target="_blank"> <%=LeftT(rs("title"),18)%></a>