dedecms列表分页样式css修改

2019-10-24,,

今天在使用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>

《dedecms列表分页样式css修改.doc》

下载本文的Word格式文档,以方便收藏与打印。