弄了两天了,实在是搞不明白该修改哪里了~请教一下大家!
discuz.htm这段代码如下:
- <div class="fl bm">
- <!--{loop $catlist $key $cat}-->
- <div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
- <div class="bm_h cl">
- <span class="o">
- <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
- </span>
- <!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
- <!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
- <h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
- </div>
- <div id="category_$cat[fid]" class="bm_c" style="$collapse['category_'.$cat[fid]]">
- <table cellspacing="0" cellpadding="0" class="fl_tb" border="1px" bordercolor="#DDDDDD">
- <tr>
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
- <!--{if $cat['forumcolumns']}-->
- <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
- </tr>
- <!--{if $forum['orderid'] < $cat['forumscount']}-->
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/if}-->
- <td class="fl_g" width="$cat[forumcolwidth]">
- <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- <!--{if $forum[todayposts] && !$forum['redirect']}-->
- <div class="xw0" title="{lang forum_todayposts}"><div><em>$forum[todayposts]</em></div></div>
- <!--{/if}-->
- </div>
- <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
- <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a></dt>
- <dd class="xg2">$forum[description]</dd>
- </dl>
- </td>
- <!--{else}-->
复制代码
extend_common.css代码如下
- .wp { margin: 0 auto; }
- #wp .wp { width: auto; }
- #wp{ margin:0 auto 10px auto;}
- #nv li { float: left; padding-right: 1px; height: 33px; line-height: 33px; background: url({IMGDIR}/nv_a.png) no-repeat 100% 0; font-weight: normal; font-size: 12px; }
- #nv li a:hover { color:#f8f8f8; text-decoration:none; background: url({IMGDIR}/nv_a.png) no-repeat 50% -66px; }
- #nv li.a a:hover { background: url({IMGDIR}/nv_a.png) no-repeat 50% -99px; color:{LINK}; }
- #toptb { line-height: 30px;}
- #toptb a { float: left; padding: 0 4px; height: 30px; }
- .toptba a{ color:#e6e6e6;}
- .toptba a:hover{ color:#ccc; text-decoration:none;}
- #hd .wp { padding:0; }
- #scbar { height: 44px; border: solid {SPECIALBG}; border-width:0; background: url({IMGDIR}/search.png) repeat-x 0 0; line-height: 44px; overflow: hidden; }
- #qmenu { float: right; text-shadow: none; font-weight: normal; display: inline; margin: 3px 4px 0; padding: 0 12px 0 0; width: 83px; height: 26px; background: url({IMGDIR}/qmenu.png) no-repeat 0 0; line-height: 26px; text-align: center; color: {HIGHLIGHTLINK}; overflow: hidden; }
- /* 菜单横排 */
- #mu ul { padding:10px 0; overflow:hidden; background: url({IMGDIR}/mu_bg.png) no-repeat 0 100%; line-height: 22px; z-index: 2; font-size: 12px; }
- #mu li { float: left; height: 28px; overflow:hidden; }
- /* 二级导航广告 */
- .a_mu_box{ margin:10px 0 5px 0;}
- .a_mu { border: solid {COMMONBORDER}; border-width:1px; background: {COMMONBG}; }
- /* 格子广告 */ .a_t { overflow:hidden; margin-bottom: 10px; }
- /* 页头广告 */ .a_h { margin:0 auto 10px auto;}
- /* 版块头样式 */
- .fl .bm_h { border-width: 0; background: url({IMGDIR}/ftbg.png) no-repeat left top; border-color: {SPECIALBORDER};}
- .fl .bm_h h2{ margin:0 0 0 0px;}
- .fl .bm_h .o { float: right; width: 30px; height:31px; background: url({IMGDIR}/ftbg.png) no-repeat right top;}
- .bm_h .o img { float: right; margin:11px 10px 0 0;cursor: pointer; }
- .bm_h { padding: 0 0 0 10px; height: 31px; border-top: 1px solid #DDDCDD; border-bottom: 1px solid {CONTENTSEPARATE}; background: {COMMONBG}; line-height: 31px; white-space: nowrap; overflow: hidden; }
- .bm_h .y{ margin:0 10px 0 0;}
- /* 区块 */
- .fl { border: 0px solid {COMMONBORDER}; border-top: none; background: {WRAPBG}; }
- .fl .bm { margin-bottom: 0; border: none; }
- #online .bm_c, .lk .bm_c { background: url({IMGDIR}/bm_c_bg.png) repeat-x 0 0; padding-top: 0; padding-bottom: 0; padding-top: 0; padding-bottom: 0; }
- /* 发表回复 */
- .pnc, a.pnc { border-color: #525252; background-color: #e5ab84; background-position: 0 -48px; color: #FFF !important; }
- /*外部框架*/
- .wp2{ width:980px; overflow:hidden; margin:0 auto; }
- .wp3{ margin:0 10px;}
- .wp4{ width:100%; background:#fff; }
- .wp5{ width:980px; overflow:hidden; margin:0 auto; }
- .wp6{ overflow:hidden; margin:0 10px; }
- .wp7{ margin:0;}
- .wp8{ margin:0;}
- /* 颜色切换 */
- #sslct_menu { padding:0 0 0 30px;}
- .sslct_showbox{ overflow:hidden; height:24px; background:#fff; }
- .sslct_btn { float: left; margin: 4px 5px 0 0; width: 12px; height: 12px; border: 1px solid {COMMONBORDER}; cursor: pointer; }
- .sslct_btn i { float: left; display: inline; margin: 1px; width: 10px; height: 10px; background: #000000; overflow: hidden; font-style: normal; }
- /* 阴影框架 */
- .shadowbox{ width:1000px; height:100%; margin:0 auto; }
- .shadow_lft{ overflow:hidden; width:auto; height:100%; background:url({IMGDIR}/shadow.png) right repeat-y;}
- .shadow_rgt{ overflow:hidden; width:auto; height:100%; background:url({IMGDIR}/shadow.png) left repeat-y;}
- .ie6 .shadow_lft{ overflow:hidden; width:auto; height:100%; background:none;}
- .ie6 .shadow_rgt{ overflow:hidden; width:auto; height:100%; background:none;}
- .mainbox{ width:980px; margin:0 auto; overflow:hidden; background:#fff; }
- .yjtopbox{ height:10px; line-height:10px; overflow:hidden;}
- .yjtop_l{ height:10px; overflow:hidden; background: url({IMGDIR}/yjtop.png) no-repeat left top;}
- .yjtop_r{ float:right; width:10px; height:10px; _margin:0 0 0 -3px; overflow:hidden; background: url({IMGDIR}/yjtop.png) no-repeat right -20px;}
- /* 新增样式 */
- .tophdbg{ height:100%; overflow:hidden;}
- .tophdbg_t{ padding:100px 0 0 0; height:100%; overflow:hidden; background: url({IMGDIR}/tophdbg_t.png) repeat-x 0 0;}
- .tophdbg_b{ padding:0 0 200px 0; height:100%; overflow:hidden; background:#fff url({IMGDIR}/tophdbg_b.png) repeat-x 0 bottom;}
- /* 底部 */
- .ftbox{ padding: 0 0 0 0; height:96px; background:{HEADERBGCOLOR};}
- .ftwp{ overflow:hidden; height:54px; background: url({IMGDIR}/ft_yjbox_bg.png) repeat-x 0 -108px;}
- #ft{ width:auto; overflow:hidden; padding:5px 0 0 0; border-top: 0px solid {COMMONBORDER}; line-height: 1.8; color: {FOOTERTEXT};}
- .ft_yjbox{ width:980px; height:54px; overflow:hidden; margin:0 auto; }
- .ft_yjbox_l{ float:left; width:10px; height:54px; overflow:hidden; _margin:0 -3px 0 0; background: url({IMGDIR}/ft_yjbox_bg.png) no-repeat left top;}
- .ft_yjbox_r{ float:right; width:10px; height:54px; overflow:hidden; _margin:0 0 0 -3px; background: url({IMGDIR}/ft_yjbox_bg.png) no-repeat right -54px;}
复制代码 extend_css_space.css
- #toptb a{color:#444; float: left; padding: 0 4px; height: 30px;}
- .ftbox{ padding: 0 0 0 0; height:auto; background-color:transparent;}
- .ftwp{ background:none;}
- .ft_yjbox_l,.ft_yjbox_r{ background:none; display:none;}
复制代码 extend_module.css
- #toptb { padding: 0 15px; border-bottom: 1px solid #EFEFEF; }
- #toptb a { color:#666; float: left; padding: 0 4px; height: 24px; }
- #toptb a.showmenu { padding-right: 15px; }
- #toptb a.hover { color:#333; background-color: #FFF; }
复制代码 widthauto.css
- .wp2{ width:98%; min-width: 980px; overflow:hidden; margin:0 auto; }
- .wp7{ overflow:hidden; margin:0 20px; }
- .wp { width:auto; }
- #hd .wp, #wp { min-width: 960px; }
- .wp8{ margin:0 auto; clear:both; overflow:hidden;}
- .shadowbox{ width:100%; min-width: 980px; height:100%; margin:0 auto; }
- .shadow_lft{ width:100%; height:100%; background:none;}
- .shadow_rgt{ width:100%; height:100%; background:none;}
- .mainbox{ width:98%; min-width: 980px; margin:0 auto; overflow:hidden; background:#fff; }
- #toptb { line-height: 30px; min-width: 980px;}
- #hd{min-width: 980px;}
- .ftbox{ min-width: 980px; padding: 0 0 0 0; height:96px; background:{HEADERBGCOLOR};}
- #wp{ margin:0 10px;}
- .ft_yjbox{width:98%; height:54px; overflow:hidden; margin:0 auto; background: none;}
- .ct2 { margin-right: 235px; }
- .ct2 .sd { margin-right: -235px; }
- .ie7 .ct2 .sd { margin-left: 15px; }
- .ie6 .ct2 .sd { padding-left: 15px; position: relative; }
- .ct2 .mn { width: 100%; }
- .ct2 #chart, .ct2 #an { margin-right: -235px; }
- .ie6 .ct2 #chart, .ie6 .ct2 #an { position: relative; }
- .ct2_a { margin-left: 150px; background-image: none; }
- .ct2_a .appl { margin-left: -150px; {SIDEBGCODE}; }
- .ie6 .ct2_a .appl { position: relative; }
- .ct2_a .mn { width: 100%; }
- #nv, #mu { border-left: 1px solid {COMMONBORDER}; border-right: 1px solid {COMMONBORDER}; }
- #nv { background-repeat: repeat-x; background-position: 0 -33px; }
- #mu ul { border-bottom: 1px solid {COMMONBORDER}; background-image: none; background-color: {COMMONBG}; }
- .pg_post .ct2_a { margin-left: 0; margin-right: 150px; }
- .pg_post .ct2_a .appl { margin-left: 0; margin-right: -150px; background: none; }
- .pg_modcp .ct2_a, .pg_announcement .ct2_a { border: none; }
- .pg_modcp .ct2_a .mn, .pg_announcement .ct2_a .mn { margin-right: 0; padding-top: 0; }
复制代码
地址:http://bbs.tusimao.com/forum.php
|