From 97024490fbe6abdf36df5cfe9017efeedb339030 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Sun, 29 Apr 2012 18:27:22 -0400 Subject: [PATCH] remove 32767px margin/padding values in main CSS Several element id's were set to use "padding-bottom: 32767px;" and "margin-bottom: -32767px;". This caused element targets (such as http://sfconservancy.org/about/staff/#denver ) to be rendered poorly in most browsers, by preventing the user from scrolling up. Removing these lines appears to fix the rendering issue with no side effects (in limited testing of the Staff page). This change effectively reverts parts of 450ea2c and ed954b7 as the 32767px values were added in those commits. --- www/conservancy/static/conservancy.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css index 6779074b..72a106ed 100644 --- a/www/conservancy/static/conservancy.css +++ b/www/conservancy/static/conservancy.css @@ -86,14 +86,10 @@ h3 { margin-top: .6em; margin-bottom: .4em; } background: #fffff; margin-left: 210px; margin-right: 50px; - padding-bottom: 32767px; - margin-bottom: -32767px; } #container #sidebar { width: 200px; float: left; - padding-bottom: 32767px; - margin-bottom: -32767px; background-color: #ccd4a3; } @@ -147,14 +143,10 @@ h3 { margin-top: .6em; margin-bottom: .4em; } .column-small { width: 31%; - padding-bottom: 32767px; - margin-bottom: -32767px; } .column-large { margin-left: 35%; margin-right: 50px; - padding-bottom: 32767px; - margin-bottom: -32767px; } .column-left { float: left; } @@ -237,4 +229,4 @@ body.conservancy-donate #navbar ul li.donate a /* NO COMMA HERE! */ color: #000033; font-weight: bold; background: #fff url(/img/nav-bg-up.png) top repeat-x; -} \ No newline at end of file +}