WordPress.org

Ready to get started?Download WordPress

Forums

Footer Not On Bottom (2 posts)

  1. TydesPerdition
    Member
    Posted 8 years ago #

    Yeah, I've seen this topic before here and I've tried to use these posts to solve my problem but I've been unable to resolve it.

    I'm trying to create a footer using CSS 'spiffy' rounded corners however (which have turned out just fine) but the footer seems to align itself within the sidebar. I'm pretty sure that I've got all my <div> tags closed off properly too, but take a look here to see the problem.

    I've tried resolving it using a position: absolute tag in my css and then assigning a bottom to it, but the whole thing just ends up stuck somewhere within the blog. And if I max out the margin top at 400% or something, the footer becomes fixed and if I have longer posts then they will conflict.

    Somehow, I think this links back to separation between my sidebar and my footer and the CSS involved, but I really am not sure how.

    Anyway, my CSS for my #footer is:

    width: 761px;
    margin: 10px auto;
    padding-top: 5px;
    margin-top: 15px;
    font-size: 10px;

    I've also used a <div id="footer"> in my footer area as well.

  2. ladydelaluna
    Member
    Posted 8 years ago #

    the only thing i can think of is that you need a "clearing div" that will clear the content and sidebar divs, essentially making an invisible horizontal "line" where below you can place your footer div.

    i'm not sure on the semantics of doing it - i wish i was more able to help... but maybe just do a search for "clearing divs" either here on the wp forums or (probably better yet) in google.

    or, just wait until a really good theme designer comes around and catches this post - and they can give you the exact code... lol

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.