From ee35f8330d3d4d65427ee5d8caad55cf6c82207a Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 17 Dec 2009 16:52:39 -0700 Subject: [PATCH] Update the OSS style so that it can scale horizontally to window size. Note that this requires rendering the sidebar first in the html page. These changes have not been tested against windows browsers yet. --- in/style/default.css | 23 +++++------------------ in/style/default.tmpl | 13 +++++++------ 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/in/style/default.css b/in/style/default.css index 3bca629..b2d3f7b 100644 --- a/in/style/default.css +++ b/in/style/default.css @@ -43,12 +43,10 @@ body { font-size: 14px; color: #494949; background-color: #FFF; + margin: 16px 24px; } #container { - width: 955px; - margin-left: auto; - margin-right: auto; background-image: url(/style/sidebar_border.gif); background-repeat: repeat-y; } @@ -64,12 +62,9 @@ body { ================================================ */ #header { - margin-bottom: 18px; - width: 955px; - margin-left: auto; - margin-right: auto; - padding: 16px 0; height: 86px; + padding-bottom: 16px; + margin-bottom: 18px; } #homeLink { @@ -105,7 +100,6 @@ body { ================================================ */ #topInfo { - float: right; } #topInfo p { @@ -272,9 +266,8 @@ h4 { ================================================ */ #content { - width: 636px; - float: right; margin-top: 6px; + margin-left: 319px; } /* ============================================= @@ -648,17 +641,11 @@ hr { ================================================ */ #footer { - margin: 18px 0 0 0; border-top: 1px solid #d4d4d4; - //background-color: #F0F2F6; - padding-bottom: 20px; - //border-bottom: 1px solid #d4d4d4; + margin: 16px 0; } #footerInner { - width: 955px; - margin-left: auto; - margin-right: auto; margin-top: 18px; color: #23292F; font-family: Arial, Helvetica, sans-serif; diff --git a/in/style/default.tmpl b/in/style/default.tmpl index 9b54ff8..6ead91c 100644 --- a/in/style/default.tmpl +++ b/in/style/default.tmpl @@ -70,12 +70,6 @@ support@this.domain
-
-
-${self.contents()} -
-
- + +
+
+${self.contents()} +
+
+
-- 2.39.2