Website backgrounds

Discussion in 'Web Design and Development' started by Zanthus, Nov 30, 2010.

  1. macrumors member

    Joined:
    Aug 19, 2009
    Location:
    Reading, Uk
    #1
    Hi,

    I want a two tone website background with the top say 20% one colour and the bottom another colour whats the best way to implement this ?

    Its probably really simple but cant figure it out

    Cheers

    Craig
     
  2. macrumors newbie

    Joined:
    Nov 29, 2010
    Location:
    USA
    #2
    try this

    In your iweb program open the inspector window.
    Click on page inspector- then the layout tab – page background dropdown menu- Gradient fill- then choose the color and % you want
     
  3. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #3
    Create the background image as you want it and use CSS. I suggest a long, narrow image that is repeated horizontally.

    Code:
    body
    {
    background-image:url('yourbackground.png');
    background-repeat:repeat-x;
    }
    This will repeat your long, narrow image (faster load time) on the x axis forever (read: as large as the window gets).

    http://www.w3schools.com/css/css_background.asp
     

Share This Page