File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,14 @@ html, body {
7
7
html {
8
8
padding : 0 ;
9
9
width : 100% ;
10
+ position : relative;
11
+ min-height : 100% ;
10
12
}
11
13
12
14
body {
13
15
padding : 0 2em ;
14
16
width : auto;
17
+ margin-bottom : 5.5em ; /* max footer height */
15
18
}
16
19
17
20
.title {
@@ -207,6 +210,8 @@ td p {
207
210
208
211
# formalities { font-style : italic; }
209
212
213
+ # content-wrapper { padding-bottom : 2em ; }
214
+
210
215
# content {
211
216
margin : 2em auto;
212
217
overflow : hidden;
@@ -243,9 +248,18 @@ td p {
243
248
padding-top : 0 ;
244
249
}
245
250
251
+ # footer-wrapper {
252
+ position : absolute;
253
+ bottom : 0 ;
254
+ width : 100% ;
255
+ margin : 0 -2em ;
256
+ padding-bottom : 2em ;
257
+ overflow : hidden;
258
+ max-height : 5.5em ; /* max footer height */
259
+ }
260
+
246
261
# footer {
247
- margin : 2 em auto ;
262
+ margin : 0 2 em ;
248
263
padding : 0 1em ;
249
- overflow : hidden;
250
264
}
251
265
Original file line number Diff line number Diff line change 1
1
</ div>
2
+ </ div>
3
+ < div id ="footer-wrapper ">
2
4
< div id ="footer " class ="pretty-box yellow ">
3
5
CONTENT
4
6
</ div >
7
+ </ div >
Original file line number Diff line number Diff line change 8
8
</ div >
9
9
MENU
10
10
</ div >
11
+ < div id ="content-wrapper ">
11
12
< div id ="content " class ="pretty-box yellow ">
You can’t perform that action at this time.
0 commit comments