当前位置: 代码迷 >> C语言 >> 谁能帮帮我 非常感谢
  详细解决方案

谁能帮帮我 非常感谢

热度:677   发布时间:2007-12-02 15:35:28.0
谁能帮帮我 非常感谢
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Index-Left-Bot">
  <tr>
    <td height="22" bgcolor="#DEDEDE"><img src="Images/pj_fl.gif" alt="商品分类" width="190" height="28" /></td>
  </tr>
  <tr>
    <td height="84" align="center" bgcolor="#f2f2f2"><table width="100%" border="0" cellspacing="1" cellpadding="5" class="Page-Left-01">
      <tr>
        <td height="12"></td>
        <td></td>
        <td colspan="2"></td>
      </tr>
<%
set RsA = server.createobject("adodb.recordset")
RsA.source = "select id,parentid,content from deeptree where parentid=0 order by id"
RsA.open RsA.source,conn,1,1
if RsA.eof then response.write"还没有相关内容!"
while not RsA.eof
   Pid=RsA("id")
%>
      <tr>
        <td width="12" height="26"> </td>
        <td width="14"><img src="Images/Arrow-Page-01.gif" width="13" height="13" /></td>
        <td colspan="2" bgcolor="#EBEBEB"><a href="ProductsListA.asp?id=<%=RsA("id")%>&Str=<%=RsA("content")%>"><%=RsA("content")%></a></td>
      </tr>
      <%
         set RsB = server.createobject("adodb.recordset")
         RsB.source = "select id,parentid,content from deeptree where parentid="&Pid&""
         RsB.open RsB.source,conn,1,1
         while not RsB.eof
         %>
      <tr>
        <td height="26"> </td>
        <td> </td>
        <td width="13"> </td>
        <td width="889"><a href="ProductsListB.asp?id=<%=RsB("id")%>&Str=<%=RsB("content")%>&Pid=<%=Pid%>&PStr=<%=RsA("content")%>"><%=RsB("content")%></a></td>
      </tr>
      <%
            RsB.movenext
         wend
         RsB.close
         set RsB=nothing
'========
RsA.movenext
wend
RsA.close
set RsA=nothing
%>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#DEDEDE"><img src="Images/pj_ss.gif" alt="站内搜索" width="190" height="28" /></td>
  </tr>
  <tr>
    <td height="88" align="center"><table width="168" border="0" cellspacing="0" cellpadding="0">
        <form action="Search.asp" method="post" name="SearchForm" id="SearchForm">
          <tr>
            <td width="56" height="24">关键字:</td>
            <td height="24" colspan="2"><input name="KeyWord" type="text" id="KeyWord" size="11"  class="Index-Left-TextInput"/></td>
          </tr>
          <tr>
            <td height="24">范 围:</td>
            <td width="92" height="24"><select name="Area" class="Index-Left-TextInput" id="Area">
                <option value="None" selected="selected">请选择</option>
                <option value="Pro">产品</option>
                <option value="News">新闻</option>
              </select>            </td>
            <td width="20" height="24" align="right"><input name="SubmitSearch" type="image" src="Images/Index_Left_Go.gif" width="18" height="18" border="0" /></td>
          </tr>
        </form>
    </table></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#f2f2f2"> </td>
  </tr>
</table>

我想把其中的商品分类中的子栏目改为平行排列。 而以上代码中的子栏目是另起一行排列  请问我应该修改哪儿。非常感谢。。

我想得到子目录平行分布的效果。。
搜索更多相关的解决方案: 感谢  

----------------解决方案--------------------------------------------------------
帖错地方了,去网页设计那块~~
----------------解决方案--------------------------------------------------------
  相关解决方案