Results 1 to 1 of 1

Thread: Div bg image not repeating for whole page length

  1. #1
    cli523 Guest

    Div bg image not repeating for whole page length

    I'm trying to set up a layout for my website and ran into a problem with the background image not repeating properly.

    My layout is designed so that the content are in div layers which all sit inside one big "wrapper" div layer, and right now I'm trying to get the wrapper div layer to have a vertically repeating background for the entire length of the page.

    This is how I tried to do it:

    Code:
    #wrapper{
    	margin: 0 auto 0 auto;
    	width: 754px;
    	text-align: justify;
    	background: url(images/content_bg.gif) repeat-y top;
    	}
    That hasn't worked, however. The layout is supposed to look like this, but instead it looks like this.

    Can anyone help? It would be greatly appreciated. =) Here are links to my CSS and my HTML, if it would help.

    EDIT:

    Problem solved
    Last edited by cli523; 08 Jul 2009 at 09:11 PM.

Similar Threads

  1. Web page out of image?
    By MadeInBrazil in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 17 Jun 2009, 11:23 AM
  2. overlay image on home page
    By dcj in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 02 Jun 2009, 01:34 AM
  3. div background image scrolling when it shouldn't
    By PaulThomas in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 14 Jun 2007, 03:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •