how would you do this (CSS question)

Out of context: Reply #11

  • Started
  • Last post
  • 11 Responses
  • nb0

    The image idea is fine, but I'm going to assume that your site will contain more content than just a background image. From the original post, we don't know exactly what the rest of the site will contain.

    For example, if you have a left div that is set to 50% width, you should just be setting its background-color in CSS, and then you'd have the option of setting your body tag background-color to the other colour. No images required. Of course, there are a number of other ways to do this depending on what other elements your page is going to have.

View thread