有兩種解決方法:
打開(kāi)/include/arc.listview.class.php
查找
<li>
然后全部替換為空。也就是刪除這個(gè)<li>標(biāo)簽
查找
</li>
替換為空
然后保存。
用外部樣式:
.scv_listpages{
}
.scv_listpages ul{
float:left;
padding:12px 0px 12px 16px;
}
.scv_listpages ul li{
float:left;
font-family:Tahoma;
line-height:17px;
margin-right:6px;
border:1px solid #E9E9E9;
}
.scv_listpages ul li a{
float:left;
padding:2px 4px 2px;
color:#555;
display:block;
}
.scv_listpages ul li a:hover{
color:#690;
text-decoration:none;
padding:2px 4px 2px;
}
.scv_listpages ul li.thisclass,
.scv_listpages ul li.thisclass a,.pagebox ul li.thisclass a:hover{
background-color:#F8F8F8;
padding:2px 4px 2px;
font-weight:bold;
}
.scv_listpages .pageinfo{
line-height:21px;
padding:12px 10px 12px 16px;
color:#999;
}
.scv_listpages .pageinfo strong{
color:#555;
font-weight:normal;
margin:0px 2px;
}
模板里分頁(yè)代碼調(diào)用
<div class="scv_listpages">
<ul class="pagelist">
{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}
</ul>
</div>
另一樣式代碼:
<div id="pageNav">
<ul>{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</ul></div>
樣式:
#pageNav {
font: 12px/24px Tahoma;
height: 30px;
margin: 15px auto 0;
text-align: center;
width: 500px;
}
#pageNav ul {
list-style-type: none;
overflow: hidden;
}
#pageNav ul li {
background-color: #FFFFFF;
border: 1px solid #CCDBE4;
color: #0B3B8C;
display: block;
height: 22px;
margin: 0 2px;
padding: 0 3px;
float: left;
}
#pageNav ul li a {
background-color: #FFFFFF;
color: #0B3B8C;
padding: 0 3px;
}
#pageNav ul li a:hover {
color: #D87D08;
}
#pageNav ul li.hover {
border: 0 none;
color: #000000;
font-weight: bold;
}
#pageNav ul li.hover a {
color: #000000;
}
]]>