Results 1 to 5 of 5

Thread: Background color outside the main body

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    1

    Default Background color outside the main body

    If I have a page designed for 1024x768 and it is viewed on a wider screen/higher relsolution etc. How can I change the background screen color outside the main body of the page?

    Lets say the main body of my designed page is white, but I wanted the extra space on someones monitor to be a gray color. Is that possible? If so, where do I tell it to be gray?

    Hopefully this makes since.

    Thanks.... Paul

  2. #2
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    create a white bg image and make it 1024 wide and 10 pixel high will do, because it repeats to any height

    set the body bg color to gray

    example
    http://www.petstraining.com.au/transport/index.html
    http://www.masterwatchmaking.com.au/

  3. #3
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    I forgot to mention that you need to set the bg image to center and repeat in Y direction
    http://www.videoproductions.com.au/N...e-position.png

  4. #4
    Senior Member Adendum's Avatar
    Join Date
    Apr 2010
    Location
    London (UK) & Granada (Spain)
    Posts
    926

    Default

    Errr, you don't need to use images as you can control all the colour settings via CSS.

    Also this tutorial of Mikes will help you achieve the same result.
    Paul - Aditerum Ltd and AllSortsOfStuff Ltd
    NOF11 (in Admin mode!); Vista Premium 64bit; AMD Phenom IIx4 945 Processor 3.00Ghz; 8.0Gb RAM
    Wouldn't it be great if there was only a single browser to worry about!!!

  5. #5
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    I was speaking for myself, because I usually don't have a plain bg image, it may have graduation or graduated borders on left and right

Posting Permissions

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