Z Zanthus macrumors member Original poster Nov 30, 2010 #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
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
W Westendathome macrumors newbie Nov 30, 2010 #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
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
yellow Moderator emeritus Nov 30, 2010 #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
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