I want to put my footer in bottom page dynamically.
Footer must be fixed in the bottom
If we have more data in the page, footer must be placed lower automatically.
html {
position: relative;
min-height: 100%;
}
body {
padding-top: 60px;
margin-bottom: 75px;
}
footer {
position: absolute;
bottom: 0;
width: 90%;
height: 45px;
line-height: 45px;
}
<div id="container">
<div id="main">
</div>
<div id="footer">
<div class="container">
<span>Place sticky footer content here.</span>
</div>
</div>
</div>