今天在使用DedeCms分页时,发现无法正确显示,查看了源码后发现分页是自带了li标签,找到源码修改,修改文件位置
/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>
免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。