How to make a div stick to the bottom of the page in HTML?

I need to keep my footer of the page sticked to the bottom. How can I achieve that?


  • DavidMDavidM USA
    edited February 2014

    If your setting is

    <div id="container">
          <div id="copyright">
            Copyright Text

    Assign position:relative to #container, and then position:absolute; bottom:0; to #copyright

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion