How to keep footer at bottom of page and centered with html & css?

Ask a question
0

My footer won’t stay centered or at the bottom of the page. It’s either on the side or middle of the page, interfering with my other content.

footer {
  background-color: transparent;
  margin-top: -0.5em;
  padding: 2em;
  position: absolute; 
}
<footer>
  &copy; Copyright 2019. All Rights Reserved.<br>
  <a href ="mailto:[email protected]">[email protected]</a>
</footer>
Coin iconoffer bounty
add comment

0 Answer

Your Answer