From 60aad80e946dc086047ad7871f4e6d0db41e4777 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Thu, 11 Jun 2015 00:17:40 +0200 Subject: [PATCH] fix footer position --- css/styles.css | 13 ++++++------- index.php | 14 +++++++------- lib/utils.inc.php | 7 ++++--- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/css/styles.css b/css/styles.css index 6773417..b4b4bc4 100644 --- a/css/styles.css +++ b/css/styles.css @@ -39,7 +39,7 @@ td { padding: 2px 6px; } -body { +html, body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 0.9em; color: #3D658C; @@ -62,12 +62,11 @@ body { margin-top: 5px; } -.footer { - margin-top: 20px; - margin-bottom: 10px; - bottom:0; - width: 99%; - position: absolute; +#container, #footer { + width: 100%; +} + +#footer{ font-size: 0.7em; background: #ECECAC; color: black; diff --git a/index.php b/index.php index 9fee87b..84f6782 100644 --- a/index.php +++ b/index.php @@ -34,7 +34,7 @@ $numrows = $DB->numRows(); echo "$numrows quarantined mail(s)"; echo ""; - echo "
"; + echo ""; echo ""; echo ""; @@ -52,9 +52,9 @@ $url = urlencode($id); $checkbox = ""; $recipient = "{$row->recipient}"; - $action = ""; + $action = ""; $action .= "\"Release\""; - $action .= " "; + $action .= " "; $action .= "\"Delete\""; $sender = $row->sender; $received = strftime("%c", $row->time_iso); @@ -73,9 +73,9 @@ if ($pageNum > 1) { $page = $pageNum - 1; - $prev = " \"Previous\" "; - $first = " \"First\" "; } else { $prev = ' '; // we're on page one, don't print previous link @@ -84,9 +84,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " \"Next\" "; - $last = " \"Last\" "; } else { $next = ' '; // we're on the last page, don't print next link diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 89f226d..9c6be9b 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -22,9 +22,10 @@ class Utils { __TITLE__ -'; - private $footer = ''; +
'; + private $footer = '
'; private $heading = '

Session timeout:

__TITLE__

'; -- 2.39.2
ReceivedCauseReceivedCauseSenderRecipientSubjectAction