as shown in the image above, my Footer get loads at the 100% width but it is not at the most bottom of the page, I am new to HTML/CSS, so I've been figuring for an hour, but still can't fix it, the form is overextended from the page view so when I scroll down to the bottom, the spacing after the Sign Up button is also very little... how can I fix this?
Here are the sample of my code
.center-page {
width: 400px;
height: 400px;
position: absolute;
top: -40px;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
.footer-pos {
width: auto;
height: auto;
position: absolute;
top: 860px;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
<div>
<div class=navbar>
NAVBAR CONTENTS
</div>
<div class="center-page">
ALL MY "label" and ASP "input" and Sign Up "button"
</div>
</div>
<div>
<footer class="footer-pos">
<div> © 2018 Copyright: HRCA </div>
</footer>
</div>
I am using bootstrap 4.1.3 (bootstrap.min.css) and here are my custom CSS code for the content(center-page) and my footer