Forums

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

Home Forums CSS [Solved] Pagewrap Background Image help!

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

    When I add a background image to my pagewrap it only shows up if I declare heights. I don’t want to declare heights on my pagewrap because I want everything else to fit in it.

    Here is my code:
    #pageWrap {
    background-image: url(images/pageWrapBg.jpg);
    background-repeat: repeat-x;
    margin: 0 auto;
    padding: 0;
    width: 960px;
    }

    #66457
    TheDoc
    Member

    Before your page wrap div closes add this:

    <div class="clear"></div>

    Then in your CSS add this:

    .clear {
    clear:both;
    }

    #66459
    bruizerbeans
    Member

    thank you so much. It helped a lot. ;)

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