修改数据显示的列数:如何让1列内容,显示为2列显示?

来源:百度知道 编辑:UC知道 时间:2024/05/14 09:12:51
下面这段程序从数据库读出来的数据,是从上到下单列显示,把整个网页拉伸的非常大!(是指大分类)
如何修改后,大分类 内容是双列显示?
请大家帮忙看一下

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="F1F0ED">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20">
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
if rs.recordcount=0 then
response.write "<br>目前没有商品分类"
else
while not rs.eof
%>
<table width=100% cellspacing="0" cellpadding="0" border="0">
<tr bgcolor="#F1F0ED">
<td height=&q

是下面的样子吗?
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="F1F0ED">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20">
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
if rs.recordcount=0 then
response.write "<br>目前没有商品分类"
else
while not rs.eof
%>
<table width=888 cellspacing="0" cellpadding="0" border="0">
<tr bgcolor="#F1F0ED">
<td height="44" background="images/fl-bg.gif" rowspan="2" width="390"><font color="#FF6600"> <a href=&q