论坛导航(论坛导航css怎么改)
更新时间:2023-03-01 08:18:41 阅读: 评论:0
discuz论坛导航条设置 100%显示
在上面增加: <style>/*导航条宽屏 BY:cr180*/#hd .wp { width: 100%; }.hdc { margin: 0 auto; width:960px; }#nv { background-repeat: repeat-x; background-position: 0 -33px; }.cr180_nv { width:960px; margin:0 auto }#mu ul { width:960px; margin:0 auto;}</style>再次查找: <div id="nv"> <a href="{if $_G['uid']}home.php{el}javascript:;{/if}" id="qmenu" onMouOver="showMenu(this.id)">{lang my_center}</a> <ul> <!--{eval $mnid = getcurrentnav();}--> <!--{loop $_G['tting']['navs'] $nav}--> <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}--> <!--{/loop}--> </ul> </div>替换成: <div id="nv"> <div class="cr180_nv"> <a href="{if $_G['uid']}home.php{el}javascript:;{/if}" id="qmenu" onMouOver="showMenu(this.id)">{lang my_center}</a> <ul> <!--{eval $mnid = getcurrentnav();}--> <!--{loop $_G['tting']['navs'] $nav}--> <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}--> <!--{/loop}--> </ul> </div> </div>
本文word下载地址:论坛导航(论坛导航css怎么改).doc
本文 PDF 下载地址:论坛导航(论坛导航css怎么改).pdf