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

8778hxy 发表于 2008-5-18 21:08

首页二级分类这么多,谁能告诉我怎么改成一行两个显示

首页二级分类这么多,谁能告诉我怎么改成一行两个显示或者是收缩一下
网址[url]www.tianziguose.com[/url]

oioishop 发表于 2008-5-18 21:40

找到列表的CSS,改下
参考:
{float:left;width:49%;}

8778hxy 发表于 2008-5-18 21:44

#categoryTree ul {
        line-height: 1.6em;
        padding: 10px;
      }
      #categoryTree li {
        width:85px;
        background: url(../images/icon_list_arrow01.gif) no-repeat 5px 8px;
        padding-left: 12px;
       float:left;
       overflow:hidden;
       height:20px;
      }

      #categoryTree li {
        width: 90%;
        background: url(../images/icon_list_arrow01.gif) no-repeat left 6px;
        padding-left: 12px;
      }
      #categoryTree li a {
        color: #d9005d;
      }
这些改那个?

oioishop 发表于 2008-5-18 21:48

#categoryTree li {
        width: 90%;
        background: url(../images/icon_list_arrow01.gif) no-repeat left 6px;
        padding-left: 12px;
      }

改成
    #categoryTree li {  
        float:left
        width: 49%;[color=red]<---自己控制,适当再改小点[/color]
        background: url(../images/icon_list_arrow01.gif) no-repeat left 6px;
        padding-left: 12px;
      }

8778hxy 发表于 2008-5-18 21:53

还是不行,能不能加你QQ请教一下?你用站内短消息说一下QQ

8778hxy 发表于 2008-5-18 21:57

OK了,大哥你LEFT后边忘了加分号。。。

oioishop 发表于 2008-5-18 22:00

呵呵,还是要靠自己

我行我速 发表于 2008-10-5 21:04

这个CSS在哪个文件里。?

页: [1]

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