PDA

View Full Version : Help with Background Width



blsbball
24 Jan 2012, 10:07 PM
I have been trying to take care of a problem with my site and unfortunately I should have addressed the issue from the beginning. I am trying to have my black background img only display in the left side of the div. As of now I have it set as a background in the body and made half of it transparent to not show on the right side. The problem I am running to is on that depending on the resolution ( I have seen it on my phone) the background can be seen at the bottom of the page below the footer. The site is http://legomenlax.com/indexNew.html.
My idea was to have it set up similiar to http://motiontheory.com/.
Any help would be greatly appreciated. Thanks.

Wickham
25 Jan 2012, 03:32 AM
I don't think I can see the problem as the content goes below the bottom of my window, so the black just shows on the left.

If you want to keep the black from showing under the footer, you could use a wrap div with the black background and it would then stop below the footer so the white would show below the footer.

Your markup has a wrap div called #everything but the style in the css file is commented out. Try adding the black image to that with no-repeat; instead of the body style.

Also, why use a very large image for a plain black color instead of just a background-color?