Two Colored Background (center aligned content)

Discussion in 'Programming' started by oliiixxx, Mar 18, 2013.

  1. #1
    Hello There :)

    I'm trying to create a website with a background which is green at the left side of the content area and white on the right side of the content area. The content area (a div most probably) will have it's own background image (left side: green; right side: white) which has the translation from green to white in it. The content div is horizontally centered. Now what do you think is the best way of achieving this if I don't know the website users screen width?
     
    oliiixxx, Mar 18, 2013 IP