dede翻页样式推荐,通用大部分企业网站

  • A+
所属分类:dede素材

翻页展示

dede翻页样式推荐,通用大部分企业网站

通用大部分企业网站的使用,如果不懂怎么用,可以查看

dede仿站第八课:搞定一个翻页

翻页代码

  1. <!-- CSS部分 -->
  2. <style type="text/css">
  3.     .list_page {
  4.     text-align: center;
  5.     width: 100%;
  6.     margin: 55px auto 0;
  7.     overflow: hidden;
  8. }
  9. .list_page ul {
  10.     width: 710px;
  11.     margin: 0 auto;
  12.     text-align: center;
  13. }
  14. .list_page ul li {
  15.     width: 55px;
  16.     height: 40px;
  17.     border: #efefef 1px solid;
  18.     line-height: 40px;
  19.     text-align: center;
  20.     background: #fff;
  21.     float: left;
  22. }
  23. .list_page a {
  24.     color: #666;
  25.     display: block;
  26. }
  27. .list_page ul li.thisclass, .list_page ul li.thisclass a, .list_page ul li:hover {
  28.     background: #A01D1E;
  29.     width: 57px;
  30.     height: 42px;
  31.     border: none;
  32.     color: #fff;
  33.     cursor: pointer;
  34. }
  35. </style>
  36. <!-- HTML部分 -->
  37. <div class="list_page">
  38. <ul>
  39. {dede:pagelist istitem="index,pre,next,end,pageno," listsize="5"/}
  40. </ul>
  41. </div>
李金龙

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: