Forums

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

Home Forums CSS Help with Page Wrap

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33770
    smithaa99
    Member

    Can anyone help me out with the page-wrap div for this website?
    I need to set it around all the content in the middle of the page, so I can set a color background.

    http://www.theciphergroup.net

    Thank you!

    #84395
    TheDoc
    Member

    Give your page-wrap overflow:hidden; and a background color and you’ll see it show up.

    #84417
    Kermet
    Member

    The problem you’re having is because parent elements doesn’t expand to fit child elements, if those child elements are floated.
    Try applying a class for clearfix to the wrapper: https://css-tricks.com/snippets/css/clear-fix/
    Doing so will make the page wrapper expand all the way to fit children, floated elements.

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