From bba8ebfac59dbdda671d8ebd4fb6649839343c6b Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Wed, 23 Jan 2013 11:56:46 +1300 Subject: [PATCH] FIX left and right alignment of header & footer to content area --- css/layout.css | 6 ++++-- templates/Includes/Footer.ss | 12 +++++++----- templates/Includes/Header.ss | 26 ++++++++++++++------------ 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/css/layout.css b/css/layout.css index 63f4aaf..83f4a2e 100644 --- a/css/layout.css +++ b/css/layout.css @@ -219,11 +219,13 @@ body { /* NAVIGATION */ /* Primary navigation */ - + .header .inner .unit { + position: relative; /* used to position the main navigation */ + } .header .primary ul { position:absolute; bottom:0; - right:17px; /* positions the main navigation */ + right:0; /* positions the main navigation */ } .header .primary li { float: left; diff --git a/templates/Includes/Footer.ss b/templates/Includes/Footer.ss index 435798c..ad948cd 100644 --- a/templates/Includes/Footer.ss +++ b/templates/Includes/Footer.ss @@ -1,8 +1,10 @@ \ No newline at end of file diff --git a/templates/Includes/Header.ss b/templates/Includes/Header.ss index ebd41c0..476843b 100644 --- a/templates/Includes/Header.ss +++ b/templates/Includes/Header.ss @@ -1,17 +1,19 @@