WordPress.org

Ready to get started?Download WordPress

Forums

Footer Problem - wont align to bottom of page (4 posts)

  1. phanaks
    Member
    Posted 7 years ago #

    my site: http://www.webesmart.com is looking exactly how i want it to, with one major problem. I cannot for the life of me get my footer to line up with the bottom of the page. I also cant get my content box to have a bottom margin.

    all I want is my footer to be outside my white content box and that box to be 50px or so from the bottom of my page, no matter how long my content gets.

    I have been trying or DAYS and have had NO success. I have even tried rebuilding the theme a few times and if i fix it for either ff or ie it breaks in the other browser. I am pretty sure I am fundamentally not understanding something about css, but i have no idea what exactly.

    thanks, and let me know if I need to link any specific files etc.

  2. basketball
    Member
    Posted 7 years ago #

    What exactly do you want add in your footer? Another image similar to the one in your header? Right now it's just there to clear the floating elements above.

    Depending on what you want to do, you can try changing:

    #footer {
    clear : both;
    width : 100%;
    text-align : center;
    margin-top: auto;
    margin-bottom: 20px;
    }

    to

    #footer {
    clear : both;
    width : 100%;
    text-align: center;
    padding: 10px 0 50px;
    }
  3. phanaks
    Member
    Posted 7 years ago #

    that change didn't effect anything. presently the header is showing up aligned with the top of the content box. the main thing i dont understand is that the footer should show up outside of the box and after it, but it is being shown inside of it instead. im very confused.

  4. phanaks
    Member
    Posted 7 years ago #

    bump, there has to be a way to align to the bottom...

Topic Closed

This topic has been closed to new replies.

About this Topic