The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Unwanted spaces between divs

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26057

    Hi, I’m running into a problem coding my layout – I’ve created a div id of "textcontentcontainer" and it lines up fine in the layout but as soon as I create a paragraph or press enter in dreamweaver, everything shifts down and I am left with this blank space between my divs. My remedy was to put -12 margin top on it, however it overcompensates when loading in IE 6/7 and starts to eat my services banner.

    It also occurs at the bottom between the maincontent and the footer.

    Does anyone know why this is happening? Or if i could design my layout differently to avoid this?

    LINK: [

    Any insight is greatly appreciated!!!



    I looked at the site and everything seems to be fine?

    Are you only seeing this in a specific browser?


    Thank you for your reply but I figured it out! :)

    I had to put overflow:hidden on the "textcontentcontainer" as well as the "footer"

    However, I don’t know if you have a suggestion, but when I test it in IE6, these breaks between content & footer, and banner & Content still occur, but in higher versions things are fixed. Do you know of an IE6 hack for this overflow:hidden ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.