0

I have html

    <head>

    </head>

     <body>

     </body>

     <footer>

      </footer>

now what I want is the footer stay at the very end of the page and the user should scroll to see it. would you help me please?

I tried :

footer{
    position: fixed;
    bottom:-100px;
    height: 100px;
    left: 0;
    width:100%;
    text-align: center;
}

but setting height:100px and bottom:-100px get it hidden while I want the user to be able to scroll down to see it

mark
  • 121
  • 2
  • 8

1 Answers1

0

add style position: fixed; bottom: 0; to your footer

95faf8e76605e973
  • 13,643
  • 3
  • 24
  • 51
  • I tried this but when I set height:100px; bottom:-100px; it get hidden while I want the user to be able to scroll down to see it – mark Sep 11 '18 at 14:24