Pages
Tutorial
Template
Interview Preparation
What's New
Download
Wednesday, 3 September 2014
Design Paging section via HTML and CSS
HTML Code
1
2
3
4
5
6
7
8
9
............
24
25
26
CSS Code
.paging{ width:600px; height:30px; margin:8px auto; padding: 0; border-radius:6px; -moz-border-radius:6px; -webkit-border-radius:6px; -o-border-radius:6px; -ms-border-radius:6px; } .paging ul{ margin:0; padding:0;} .paging ul li, .paging ul li a{ float:left;} .paging ul li a{ height:18px; padding:5px 8px; background:#FFF; color:#737373; border:1px solid; border-color: #e7e3e2 #ffffff #e7e3e2 #e7e3e2;} .paging ul li:first-child a{ padding:5px 8px; background:#FFF; color:#737373; border-right:1px solid #FFFFFF; border-radius: 6px 0px 0px 6px; -moz-border-radius:6px 0px 0px 6px; -webkit-border-radius:6px 0px 0px 6px; -o-border-radius:6px 0px 0px 6px; -ms-border-radius:6px 0px 0px 6px; overflow:hidden} .paging ul li:last-child a{ padding:5px 8px; background:#FFF; /*background: url(../images/dash2.png) center center no-repeat #FFF;*/ color:#737373; border-right:1px solid; border-color: #e7e3e2; border-radius:0 6px 6px 0; -moz-border-radius:0 6px 6px 0; -webkit-border-radius:0 6px 6px 0; -o-border-radius:0 6px 6px 0; -ms-border-radius:0 6px 6px 0; overflow:hidden} .paging ul .selected a{ clear:both; background:url(../images/gradient_bnw_border.png) bottom center repeat-x; border-right:1px solid #f5f5f5; } .paging li a:hover, .paging ul li:first-child a:hover, .paging ul li:last-child a:hover{ background:#737373; color:#ffffff; } .paging ul li img{ width:auto; height:17px;} .page_center{ background:#f5f5f5; width:auto; height:auto; padding:5px 0px; margin:0 auto; }
Snap Shot
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment