I have a CSS gradient in my stylesheet. The problem I have is that the colour goes from #FFFFFF to #EBEBEB, but when there is a lot of content on a page and you have to scroll down the gradient repeats itself, where the further down the page it should stay #EBEBEB.
Below is the code:
body {
/* Safari 4-5, Chrome 1-9 */
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#EBEBEB));
/* Safari 5.1, Chrome 10+ */
background: -webkit-linear-gradient(top, #FFFFFF, #EBEBEB);
/* Firefox 3.6+ */
background: -moz-linear-gradient(top, #FFFFFF, #EBEBEB);
/* IE 10 */
background: -ms-linear-gradient(top, #FFFFFF, #EBEBEB);
/* Opera 11.10+ */
background: -o-linear-gradient(top, #FFFFFF, #EBEBEB);
}
Can anybody help me out.
Thanks.
Perhaps this helps:
no-repeat