我正在修改模板的時(shí)候,想要添加頂部導(dǎo)航欄的二級(jí)菜單,當(dāng)我批量添加好保存以后,頁面中只顯示了8行,實(shí)際添加了有10行。
CSS
/*導(dǎo)航欄下拉*/
#navigation ul.subnavigationlist{ display:none; position:absolute; background:#f7e69e; z-index:100}
#navigation ul.subnavigationlist li { float:none; padding:0px; line-height:28px; display:inline;}
#navigation ul.subnavigationlist li a { display:block; white-space:nowrap; font-weight:normal; color:#c00000; font-size:12px; padding:0px 14px; text-align:left}
#navigation ul.subnavigationlist li a:hover { color:#c00000; }
審查元素里面只有8個(gè)li
html
<ul class="subnavigationlist">
<li><a href="/?m=home&c=Lists&a=index&tid=35" >1</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=36" >2</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=37" >3</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=38" >4</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=39" >5</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=40" >8</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=41" >7</a></li>
<li><a href="/?m=home&c=Lists&a=index&tid=42" >8</a></li>
</ul>
通過我手動(dòng)添加li能顯示多個(gè)。

不知道是哪里的原因,請(qǐng)大家給幫幫忙分析一下。謝謝。
PS:發(fā)布文章的時(shí)候新建的文章瀏覽量是隨機(jī)變的,不是默認(rèn)的零,每次都需要手動(dòng)修改。研究了好久沒找到在哪更改瀏覽量的默認(rèn)值。有沒有大神知道的求指導(dǎo)。謝謝啦。
后續(xù):
看了一眼header.htm文件,真的是被限制成了8行,問題自己解決了,哈哈哈