From 11d071b535b229a18ef6216f96529c1cd0d662fb Mon Sep 17 00:00:00 2001 From: Karen Date: Thu, 1 Sep 2011 00:25:00 +0530 Subject: [PATCH] floating pagination --- gazetteer/static/css/main.css | 8 +++++--- gazetteer/templates/search.html | 12 +++++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gazetteer/static/css/main.css b/gazetteer/static/css/main.css index e7ba3a2..741ea9b 100644 --- a/gazetteer/static/css/main.css +++ b/gazetteer/static/css/main.css @@ -221,12 +221,14 @@ box-shadow:2px 3px 4px #c6c0c0; font-size:10px; font-weight:bold;} -.first -{text-align:left;} +.first, .next, .previous +{float:left;} .last -{text-align:right;} +{float:right;} +.clear +{clear:both;} .first:hover, .last:hover {-moz-box-shadow:2px 3px 4px #c6c0c0; diff --git a/gazetteer/templates/search.html b/gazetteer/templates/search.html index 5bd5fc0..b6b9bad 100644 --- a/gazetteer/templates/search.html +++ b/gazetteer/templates/search.html @@ -52,12 +52,14 @@

Total Results: 21

Showing Page: 1 of 10

- First - Next - Previous - Last +
First
+ + +
Last
- + +
+

Results for