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 @@ +