Asp关于二级分类的写法??

来源:百度知道 编辑:UC知道 时间:2024/09/23 10:17:24
在网站搜到一段产品目录二级分类写法.但是Crtl+V过去以后发现二级分类是竖首的.可不可以横着写..现在产品的二级分类就是竖着的.我想改成.就像多数网站的产品显示那样.把二级分类横着放.一行三个这样子.源代码如果.谢谢了.解决问题加分

<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200"></td>
</tr>
<tr>
<td valign="top">

<%
Set rsproducts=server.CreateObject ("Adodb.recordset")
sql="select * from products where flang=1 and ID=0"
rsproducts.open sql,conn,1,1
count = 0
do while not rsproducts.eof
productsID =trim(rsproducts("productsID"))
productseID =trim(rsproducts("productseID"))
productsName =trim(rsproducts("productsName"))
productsPic =trim(rsproducts("productsPic"))
%>

<table width="200" border

<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200"></td>
</tr>
<tr>
<td valign="top">

<%
Set rsproducts=server.CreateObject ("Adodb.recordset")
sql="select * from products where flang=1 and ID=0"
rsproducts.open sql,conn,1,1
count = 0
do while not rsproducts.eof
productsID =trim(rsproducts("productsID"))
productseID =trim(rsproducts("productseID"))
productsName =trim(rsproducts("productsName"))
productsPic =trim(rsproducts("productsPic"))
%>

<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="200" valign="top"><