From 64210f7063cf1ceae3f8d89fcfac03b5757b3e58 Mon Sep 17 00:00:00 2001 From: huang Date: Mon, 19 Mar 2018 22:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E7=BE=8E=E5=8C=96=E5=8F=8Afooter=E5=A7=8B?= =?UTF-8?q?=E7=BB=88=E5=A4=84=E4=BA=8E=E5=BA=95=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/common.css | 3 +++ app/views/layouts/_footer.html.erb | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.css b/app/assets/stylesheets/common.css index b0824dd..fe56b79 100644 --- a/app/assets/stylesheets/common.css +++ b/app/assets/stylesheets/common.css @@ -1,5 +1,8 @@ @charset "utf-8"; +/*底部始终处于最低端*/ +#footer {clear: both; font-size: 0.9em; color: #aaa; background:#fff;position: absolute;bottom: 0px;width: 100%} + /*用户首页*/ .content-page { margin-left: 240px; diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 06576ed..5959c89 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -1,4 +1,3 @@ -