WordPress.org

Ready to get started?Download WordPress

Forums

Keep footer.php at the bottom (5 posts)

  1. HorrorUK
    Member
    Posted 3 years ago #

    How do I keep everything in the footer at the bottom of the page. If I have a short page, I have my copyright in the center of the screen, below where the page/post ends.

    I've tried making the divs above it 100%, but it doesn't work.

  2. Kapil Chugh
    Member
    Posted 3 years ago #

    In that case you have to give height of div.

  3. HorrorUK
    Member
    Posted 3 years ago #

    I thought that, but it would depend on the size of a users screen.

  4. Kapil Chugh
    Member
    Posted 3 years ago #

    Normally web pages are made according to a resolution of 1024*768.So you can specify height somewhere around 750px.That will be suitable for everybody.

  5. HorrorUK
    Member
    Posted 3 years ago #

    I fixed the problem with a guess.

    I had to add the follwoing line into the footer css:
    float: bottom;

Topic Closed

This topic has been closed to new replies.

About this Topic