WordPress.org

Ready to get started?Download WordPress

Forums

How to make the footer site at the bottom no matter what (9 posts)

  1. chaz7979
    Member
    Posted 9 years ago #

    Is there a way to make a #footer class go to the bottom of the browser no matter what the page size is? What I mean is, lets say the page is only 500px in height but my browser is 1000px, can I make the footer go to the bottom of the page no matter what?

    I have read a couple of dif tutorials on this issue, but there seems to be something funky about wordpress that is making it not work.

    http://scott.sauyet.name/CSS/Demo/FooterDemo2.html

    http://bonrouge.com/br.php?page=faq#footeratbottom

  2. moshu
    Member
    Posted 9 years ago #

    The solution always depends on the theme you are using.

  3. Joni
    Member
    Posted 9 years ago #

    The best tutorial explaining this can be found at The Bomb Site:

    http://thebombsite.com/article/98/absolute-clearing

  4. chaz7979
    Member
    Posted 9 years ago #

    moshu, I am using a modified kubrick theme. The divs are all the same as the standard theme.

  5. Yngwin
    Member
    Posted 9 years ago #

    Yes, it is possible. I implemented something like that in my Neptune theme (footer at bottom of window on short pages, at bottom of page on pages that are longer than window).

    If you always want it at the bottom of the window you need to look at fixed positioning and use a workaround for IE (obviously).

  6. chaz7979
    Member
    Posted 9 years ago #

    It seems to me that the #page postitioning must be set to absolute for it to work with my site. But that makes the content left justified. Is there a work around for this?

    Because it is working...except for the fact that everything is set to the left, instead of the center as it should be.

    Using this example;
    http://scott.sauyet.name/CSS/Demo/FooterDemo2.html

  7. chaz7979
    Member
    Posted 9 years ago #

    Any new ideas? There must be someone here that has done this hack and got it to work???

  8. chaz7979
    Member
    Posted 9 years ago #

    I got it to work :-)

    Here is a great tutorial
    http://www.sitepoint.com/forums/showpost.php?p=1239966&postcount=3

  9. Yngwin
    Member
    Posted 9 years ago #

    Look at this one too, that's more or less how I've been doing it: http://www.themaninblue.com/writing/perspective/2005/08/29/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.