织梦 CSS分页样式

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>织梦分页</title>
<style type="text/css">
/*
* -- 样式说明 --
* 最大优先实现法,全局能实现不用区域,区域能实现不用模板,
* 模板能实现不用界面,界面能实现不用标签
* 脚本属于特殊标签
* g - 全局
* t - 区域
* m - 模板
* ui - 界面
* lb - 标签
* j - 脚本
*/
/*base style*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary{ margin:0; padding:0;}
body{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; color:#333; font-size:12px; background-color:#fff; overflow-x:hidden;}
a{ color:#666; text-decoration:none;}
a:hover{ color:#666; text-decoration:underline;}
img{ border:none;}
i,em{ font-style:normal;}
ul li{ list-style-type:none;}
textarea{ resize:vertical;}
input, select, textarea{ font-family:\5FAE\8F6F\96C5\9ED1,'Arial'; background-color:#fff margin:0; padding:0; outline:none;}

/*global style*/
.g-fl{ float:left;}
.g-fr{ float:right;}
.g-c{ clear:both;}

.pagelist{ text-align:center; margin:80px 0 80px 0; font-size:15px;}
.pagelist li{display:inline; color:#999;}
.pagelist li a{border:1px solid #06a68a; padding:3px 6px; color:#00987f; background-color:#f7fdfc; text-decoration:none;}
.pagelist li a:hover{ border:1px solid #06a68a; background-color:#06a68a; color:#fff; text-decoration:none;}
.pagelist .pageinfo{ padding-left:6px;}
.pagelist .thisclass{ padding:3px 6px; border:1px solid #06a68a; background-color:#06a68a; color:#fff;}
</style>
</head>
<body>
<ul class="pagelist">
    <li>首页</li>
    <li class="thisclass">1</li>
    <li><a href="###">2</a></li>
    <li><a href="###">3</a></li>
    <li><a href="###">4</a></li>
    <li><a href="###">下一页</a></li>
    <li><a href="###">末页</a></li>
    <li><span class="pageinfo">共 <strong>4</strong>页<strong>61</strong>条</span></li>
</ul>
</body>
</html>

效果图:
织梦 CSS分页样式
 

相关推荐