I have a footer with the below HTML and CSS code, when I view the page on my resolution (1366x768), everything looks okay. But when using a higher resolution device (1920x1080), the footer is not fixed to the bottom and is instead above the bottom (near to the middle of page). I used Chrome Zoom and it appears that the footer moves along with all elements in the page.
.footer {
font-size: calc(16px - 2px);
line-height: 1.1;
color: #999;
margin-bottom: 5px;
text-align: center;
background-color: #fff;
padding: calc(8px * 1.5) 0;
}
</div> <!--/.container-->
<footer class="footer container">
<div class="container-inner">
<p> <a href="http://example.org" target="_blank">Name, Inc.</a> Copyright ©2020 </p>
</div>
</footer>
Is there a way to make the footer appear on the bottom (on all resolutions) and not move with other elements? It feels loose.