-3

So I keep my footer at the bottom of my page with the following code:

It's a vue project so #app is my container with my content and footer in.

#app {
  min-height: 100%;
  position: relative;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5rem;
}

This works great in Chrome but somehow Firefox doesn't really care and just let's my footer float below my content.

Am I missing anything here?

Wais Kamal
  • 5,858
  • 2
  • 17
  • 36
LennertSk
  • 15
  • 5
  • 1
    Does this answer your question? [Fix footer to bottom of page](https://stackoverflow.com/questions/18915550/fix-footer-to-bottom-of-page) – Grzegorz T. Jun 09 '20 at 09:40

1 Answers1

1

I think you should be changing position to position: fixed.

Neha Jain
  • 128
  • 7