From 8f4f65fd1fe16ddcf545777d693310f0944d5a92 Mon Sep 17 00:00:00 2001 From: aragonc Date: Thu, 12 Mar 2015 16:39:41 -0500 Subject: [PATCH] Footer always arranged below refs #7539 --- main/css/base.css | 36 ++++++++++++-------- main/template/default/layout/footer.tpl | 1 + main/template/default/layout/main_header.tpl | 34 +++++++++--------- main/template/default/layout/menu.tpl | 2 +- 4 files changed, 41 insertions(+), 32 deletions(-) diff --git a/main/css/base.css b/main/css/base.css index 50df5234ea..8ada767aa3 100755 --- a/main/css/base.css +++ b/main/css/base.css @@ -9,6 +9,27 @@ pre { margin-top:40px; } +html,body{ + height: 100%; +} +#page-wrap{ + margin: auto; + height: auto; + height: auto; + min-height: 100%; +} +#page-wrap:after{ + width: 100%; + height: 150px; + display: block; + clear: both; +} +footer { + width: 100%; + height: 100px; + margin: 0px auto 0; + background-color: #f5f5f5; +} /* chzn-select fix */ select { @@ -359,21 +380,6 @@ form .formw input { width: 110px; } -html { - margin: 0; - padding: 0; - position: relative; - min-height: 100%; -} - -footer { - position: relative; - bottom: 0; - width: 100%; - height: 80px; - background-color: #f5f5f5; -} - #footer_left, #footer_center, #footer_right { margin: 20px 0 0 0; } diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl index 41e05e904f..2e3eb3ceac 100755 --- a/main/template/default/layout/footer.tpl +++ b/main/template/default/layout/footer.tpl @@ -1,3 +1,4 @@ +