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

Howdy, Stranger!

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

Categories

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

danielm77danielm77 USAPosts: 72Member

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

Tagged:

Comments

  • DavidMDavidM USAPosts: 342Member
    edited February 2014

    If your setting is

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

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

Sign In or Register to comment.