ECShop 网上商店系统支持论坛's Archiver

ousoo 发表于 2008-7-23 13:54

大家帮我看一下分类的问题出在哪儿.谢谢

我设计首页分类时出现如下问题,因为我是代码新手,请大家帮我看一下问题出在哪里?谢谢了.

现在的结果图是这样的:[b]珍藏纪念[/b]应该是[b]一级目录[/b],应该另起一行,但不知道为什么跟以上一级目录的二级目录后边了.

以下是CSS样式与库文件的代码:

[color=darkorange]<div class="mutree">
  <!--{foreach from=$categories item=cat}-->
<span class="xxx"><a href="{$cat.url}">{$cat.name|escape:html}</a></span>
  <ul >
    <!--{foreach from=$cat.children item=child}-->
    <li><a href="{$child.url}">{$child.name|escape:html}</a></li>
    <!--{/foreach}-->
  </ul>
  <!-- {/foreach}-->
</div>[/color]
[color=#ff8c00][/color]
[color=#ff8c00]CSS样式:[/color]
[color=#ff8c00][/color]
[color=red].mutree { padding:8px 5px; margin:6px 0 0 0; font-size:14px;width:154px;w\idth:144px;}
.mutree ul{margin:0 5px 8px 0;display:block;text-align:left;padding:0px;list-style-type: none; }
.mutree ul li{float:left;font-weight:normal;margin: 2px 0px 3px 5px;padding: 0 5px 0px 0px;background:url(images/nav_line.gif) no-repeat right;white-space:owrap;word-break:keep-all;color:#cccccc;display: inline;list-style-type: none;}
.xxx {color: #666666;font-size:14px;text-decoration:none;font-weight:bold;}
.mutree ul li a {color:#999999;text-decoration: none; font-size:12px;}[/color]
[color=#ff0000][/color]
[color=black][b]请大家帮看一下需要修改什么才能让那个分类显示正常了.谢谢.[/b][/color]

[[i] 本帖最后由 ousoo 于 2008-7-23 15:22 编辑 [/i]]

ousoo 发表于 2008-7-23 14:45

大家快帮我看一下呀,谢谢了.高人们

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.