今天在使用DedeCms分頁時,發(fā)現(xiàn)無法正確顯示,查看了源碼后發(fā)現(xiàn)分頁是自帶了li標(biāo)簽,找到源碼修改,修改文件位置
/include/arc.listview.class.php和/include/arc.archives.class.php
把這兩個文件的中的 <li> ,</li>和<li class=/"thisclass/">全部刪除。
	
	<style type="text/css">
	.g_page{ width:100%; overflow:hidden; height:22px; text-align:center; margin-top:10px;}
	.g_page a{ display:inline-block; _display:inline; zoom:1; border:1px solid #ccc; height:20px; line-height:20px;   padding:0 5px;  margin:0 5px 0 0;}
	.g_page .current{ text-decoration:none;}
	</style>
<div> {dede:pagelist listsize='2' listitem='info,index,end,pre,next,pageno'/} </dd>
</P></DIV>
新聞熱點
疑難解答
圖片精選