ITeye博客

dede分页条 样式设置

gengshu1111 · 2010-10-13 17:38 · dedeCMS · Web前端 · Markdown

每次都遇见dede烦人的分页,总结到下边


<div class="tg_pages">
			 <ul>
					{dede:pagelist listitem="pre,next,pageno" listsize="5"/}
			 </ul>
		</div>


.tg_pages{padding-top: 10px;padding-bottom: 10px; margin-left:220px; height:20px;}
.tg_pages ul li{display: inline;height:20px;line-height: 20px;float:left; text-align:center;margin-left:5px;color:#88af3f;}
.tg_pages ul li a{display:block; padding:0 6px; COLOR: #88af3f;  border: #dedfde 1px solid; text-decoration:none;}
.tg_pages ul li a:hover{display:block;padding:0 6px; BACKGROUND: #88af3f; color:#fff;}
.tg_pages ul .thisclass{font-weight: bold; color: #fff; margin-left:5px; text-align:center; margin-left:10px; height:20px;line-height: 20px; padding:0 6px; border:#dedfde 1px solid; background:#88af3f;}

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。