I'm having trouble getting my footer to stay at the bottom of my website without it sticking when I scroll. I want it to only appear at the bottom as you scroll down the webpage.
Currently, the footer is positioned beneath the content on the webpage. I've tried using bottom:0;
, but it ends up sticking and not fitting the design of my website. I've also tried using html, body { height:100%;}
as suggested in other questions on stackoverflow, but haven't had any success.
If anyone has any advice on how to achieve this, I would greatly appreciate it.
Code:
.footer {
background: #F37A1D;
position : absolute;
width: 100%;
border-top: 3px solid #F37A1D;
}
<div class="footer">
<div class="container">
<p>© COMPANY 2015</p>
</div>
</div>