Support » Fixing WordPress » Div container not stretching with content, footer floating?

  • Resolved Nitroid


    Hey, all.

    I’m working with a custom WP theme and so far everything has been going well, but after throwing some filler content into my main page, all of the content is bleeding past its corresponding DIV container (as well as the page footer). I’ve been messing with floats, positioning, and just about everything else I can think of, but I can’t seem to get the DIVs to stretch with the content.

    Here’s a link to the page (I’ve set the main DIV container’s background to red to more clearly show where it’s positioned exactly):

    And here’s the CSS:

    This is the last big hurdle before I’ll be able to finish my site and any help towards a solution would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    You could start by sorting out the validation errors in the theme.


    Try removing the height:100% on .indexContainer and adding clear:both to the #footerWrapper. I’m seeing quite a few validation errors that you should look into as well.

    Wow, over 70 errors is embarrassing. I completely forgot to check for validation errors, heh. I fixed the errors and tried your suggestion doc4, and it worked like a charm.

    Thanks a ton for the help, all!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Div container not stretching with content, footer floating?’ is closed to new replies.