PDA

View Full Version : Gradient BG that scales



Pat Begg
November 8th, 2005, 05:39 PM
Hi All,
Can anyone tell me how I can create a gradient background for a HTML page that scales with the page?

Cheers,

Pat

SlowRoasted
November 8th, 2005, 07:48 PM
you have to make a gradient image that is very skinny width wise and make it as tall as you need. Then you set the image as your background with css and add the css to repeat x-axis.

RabBell
November 9th, 2005, 06:16 AM
try this too

http://www.tizag.com/cssT/background.php

scroll down in the page above you should see the heading

'CSS Gradient Background'

BadMagick
November 10th, 2005, 03:29 PM
You can't make a CSS that scales with the page, but - like stated before - you can use an image, very small thin image, and repeat that on the x-axis and then blend it into a normal CSS background-color: tag.

This CSS blog, magazine type thing has a lot of things you can check out in the way of reaaaaally doing some visual things with CSS

http://www.mandarindesign.com/blogger.html