论坛导航(论坛导航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>

本文发布于:2023-02-28 19:43:00,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/zhishi/a/167762992166704.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

本文word下载地址:论坛导航(论坛导航css怎么改).doc

本文 PDF 下载地址:论坛导航(论坛导航css怎么改).pdf

标签:论坛   怎么改   css
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 实用文体写作网旗下知识大全大全栏目是一个全百科类宝库! 优秀范文|法律文书|专利查询|