That would be the 5 extra div closers you added *just to be sure*.
Closing non-existent divs doesn’t deactivate others that are properly marked. For the sake of argument, I removed the extra closing tags. They weren’t the problem.
You never closed your center tag right after your body tag.
Validator
I’m not sure what you mean… I wasn’t kidding about what I said; I guess I could be wrong about extra </div> tags, but like I said, I removed the extra closing tags, and the problem is still there.
I have a funny feeling that the problem is in the php–shouldn’t the <?php get_footer(); ?> markup put the footer below all content anyway?
EDIT: thanks drmike. I removed the <center> tag, though, and it didn’t help (the content is now centered via margin-left:auto; margin-right:auto;).
Quite serious, Root. π To the best of my knowledge, extra </div> tags aren’t even parsed because the tag was never started with a <div>, therefore, there’s nothing to close, so nothing happens. Correct me if I’m wrong though.
drmike: thanks, I removed that <center> tag (content is now centered with margin-left:auto; margin-right:auto;) unfortunately the problem persists… Thanks for the help though.
I have a sneaking suspicion the problem is somewhere in the php actually. Shouldn’t <?php get_footer(); ?> automatically place the footer below the posts?
Well you would end up closing any other divs that were open like #rap prematurely. A common cause of footage. π
It is better – just a shame you have a couple of one px jogs, one at the top and one in the footer. The CSS-P is just not settled somewhere.
I’ve been battling issue after issue with reformatting wordpress into my site for over a month now, but I finally got all the code to behave. I fixed the footer problem last week, but at this point I can’t remember the bit of offending CSS that ended up being the culprit.
I looked into it, and you were right, Root; extra closing tags add whitespace. I don’t think that ended up being my problem here, but now I know. π
For other readers who may be new to this my take on positioning issues is this. You either need to get a rock solid theme to start with or do a lot of RTFM. π