I am trying to ensure that my footer is at the bottom of my website. I don't want it to stick when I scroll, just to appear below while scrolling through a web page.
Currently - A web page is displayed with a footer below the content. I added code such as bottom:0;, and found that it adheres to and does not fit my website. I also added code such as html, body { height:100%;}if you looked at other questions about the stack, but had no joy.
Any advice would be appreciated.
Code :
.footer {
background: #F37A1D;
position : absolute;
width: 100%;
border-top: 3px solid #F37A1D;
}
<div class="footer">
<div class="container">
<p>© COMPAY 2015</p>
</div>
</div>
Run code
source
share