From 97232778516460d4ddb7b8d0493e93501ef5a42f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 3 Nov 2013 01:29:20 +0100 Subject: [PATCH] css padding: only override values needed aligns left/right borders of content text with header/footer text --- nsupdate/static/css/nsupdate.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nsupdate/static/css/nsupdate.css b/nsupdate/static/css/nsupdate.css index 3a384a6..7821ecf 100644 --- a/nsupdate/static/css/nsupdate.css +++ b/nsupdate/static/css/nsupdate.css @@ -14,12 +14,13 @@ html, body { /* Negative indent footer by its height */ margin: 0 auto -120px; /* Pad bottom by footer height */ - padding: 0 4px 60px; + padding-bottom: 60px; } .footer { height: 60px; - padding: 15px; + padding-top: 15px; + padding-bottom: 15px; margin-top: 60px; background-color: #ddd; }