1html, body{
2 height: 100%;
3 margin: 0;
4 }
5 .main{
6 min-height: 100%;
7 position: relative;
8 }
9 .main-template-footer {
10 height: 50px;
11 bottom: 0;
12 position: absolute;
13 width: 100%;
14 }
15 .main-template-body {
16 padding-bottom: 50px;
17 }