---
title: "dede分页条 样式设置"
author: "gengshu1111"
date: "2010-10-13T17:38:35Z"
tags: []
categories: ["Web前端"]
slug: "dede"
draft: false
lastmod: "2010-10-13T17:39:20Z"
id: 784022
url: "https://bryant24.iteye.com/blog/784022"
---

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

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

```


```html

.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;}

```