keep footer at the bottom of page code example
Example 1: how to keep footer bottom of the page css
.footerclass {
background-color: #eeeeee;
position: fixed;
top: auto;
bottom: 0;
width: 100%;
display: inline-block;
}
Example 2: how to fix the footer at the bottom of the page
#footer {
position:fixed;
left:0px;
bottom:0px;
z-index:1;
width:100%;
}
Example 3: keep footer at bottom of page
#footer {
position: relative;
margin-top: -180px;
height: 180px;
clear: both;
}
body:before {
content: "";
height: 100%;
float: left;
width: 0;
margin-top: -32767px;
}