Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/example.css

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Rolich  >  Extended Generic Pager  >  examples/example.css  >  Download  
File: examples/example.css
Role: Auxiliary data
Content type: text/plain
Description: CSS file for examples
Class: Extended Generic Pager
Paginate data listings from arrays, CSV or MySQL
Author: By
Last change:
Date: 2 years ago
Size: 1,001 bytes
 

Contents

Class file image Download
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
    text-align: center
}

table.data {
    text-align: left;
	border: 1px solid #ccc;
	border-collapse: collapse;
	margin: 20px auto;
	width: 600px
}

table.data td {
	border: 1px solid #ccc;
	padding: 5px
}

p {
	margin: 10px 0;
	text-align: center;
	width: 100%
}

ul.pager {
	list-style-type: none;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
    display: inline-block
}

ul.pager li {
	float: left;
	margin-right: 5px
}

ul.pager li a, 
ul.pager li span {
	background-color: #eee;
	border: 1px solid #ccc;
	color: #333;
	display: block;
	height: 16px;
	line-height: 16px;
	padding: 3px;
	text-align: center;
	text-decoration: none;
	width: 16px
}

ul.pager li a.first,
ul.pager li a.prev,
ul.pager li a.next,
ul.pager li a.last {
	display: inline-block;
    width: auto
}

ul.pager li span {
	background-color: #fff;
	font-weight: bold
}

.range {
    font-weight: bold;
    float: left
}

.total {
    font-weight: bold;
    float: right
}