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 of450ea2c
anded954b7
as the 32767px values were added in those commits.
This commit is contained in:
parent
53e4a2739b
commit
97024490fb
1 changed files with 1 additions and 9 deletions
|
@ -86,14 +86,10 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
|
||||||
background: #fffff;
|
background: #fffff;
|
||||||
margin-left: 210px;
|
margin-left: 210px;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
padding-bottom: 32767px;
|
|
||||||
margin-bottom: -32767px;
|
|
||||||
}
|
}
|
||||||
#container #sidebar {
|
#container #sidebar {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
float: left;
|
float: left;
|
||||||
padding-bottom: 32767px;
|
|
||||||
margin-bottom: -32767px;
|
|
||||||
background-color: #ccd4a3;
|
background-color: #ccd4a3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -147,14 +143,10 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
|
||||||
|
|
||||||
.column-small {
|
.column-small {
|
||||||
width: 31%;
|
width: 31%;
|
||||||
padding-bottom: 32767px;
|
|
||||||
margin-bottom: -32767px;
|
|
||||||
}
|
}
|
||||||
.column-large {
|
.column-large {
|
||||||
margin-left: 35%;
|
margin-left: 35%;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
padding-bottom: 32767px;
|
|
||||||
margin-bottom: -32767px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-left { float: left; }
|
.column-left { float: left; }
|
||||||
|
|
Loading…
Reference in a new issue