Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    82
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Wide backgrounds

    Hi there,

    I'm sure this has a very simple answer so apologies in advance.

    I am building a site where the header, footer and main content area all fit within a width of 960px. However, there are background elements which sit outside of this, some of which overflow into the main content area and footer, and I was wondering how best to deal with this in the markup and CSS.

    Please see image attached for an example of what I mean. Excuse the drawing

    Thanks in advance
    Attached Thumbnails Attached Thumbnails Wide backgrounds-snap-2011-05-18-10-32-54.png  

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,915
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    What does your markup look like? If you have a container div that holds all of your page you cans still apply a background image to the body or html elements (or both).

  • #3
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Please show the code you have been working on. You would probably need to be using absolute positioning on those elements with some z index values. But again, would be easier to see you code.
    Teed


  •  

    Posting Permissions

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