Results 1 to 2 of 2

Thread: Help with Background Width

  1. #1
    Join Date
    Jun 2010
    Posts
    37

    Help with Background Width

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    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?
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. css width:100% background images
    By alexgallz in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 04 Feb 2010, 02:29 AM
  2. Span background image full width of site help
    By tribethrow in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 13 Nov 2009, 01:07 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
  •