Associate
- Joined
- 20 Oct 2005
- Posts
- 112
Hi, I'm having difficulties working out how to deal with a background image of a div.
I want a vertical gradient of 500px (top is white - bottom is grey) as a BG image of a DIV. The bottom of the image needs to be the bottom of the DIV when the DIV <500px (so top is light grey - bottom is grey) but then the DIV is > 500px the image stays at the top and the DIV has a BG colour of grey to match.
Does that make sense? :-s
I want a vertical gradient of 500px (top is white - bottom is grey) as a BG image of a DIV. The bottom of the image needs to be the bottom of the DIV when the DIV <500px (so top is light grey - bottom is grey) but then the DIV is > 500px the image stays at the top and the DIV has a BG colour of grey to match.
Does that make sense? :-s