From 3dddf71ea8684f81a3e06939c63d88dbdf0d1bfe Mon Sep 17 00:00:00 2001 From: George Kaklamanos Date: Fri, 25 Sep 2015 15:36:49 +0300 Subject: [PATCH] Added footer --- css/style.css | 16 ++++++++++++++++ modules/foot.php | 9 +++++++++ 2 files changed, 25 insertions(+) diff --git a/css/style.css b/css/style.css index 5562a7d..5c64f29 100644 --- a/css/style.css +++ b/css/style.css @@ -1,6 +1,15 @@ html { + /* center content */ max-width:80%; margin:auto; + + /* footer alignment */ + min-height:100%; + position:relative; +} + +body { + margin-bottom:3em; } .table { @@ -13,3 +22,10 @@ html { th, td{ text-align:center; } + +footer { + bottom:0; + position:absolute; + height:3em; + background-color:#f5f5f5; +} diff --git a/modules/foot.php b/modules/foot.php index 04f5b84..268b4d4 100644 --- a/modules/foot.php +++ b/modules/foot.php @@ -1 +1,10 @@ +