Value Error background (nullcolors.html#propdef-background) Parse Error

Permalink
I am trying to repeat an image as the background and am calling it like this.

body{
background-color: #fff;
background-image:url(images/background_web.gif); background-repeat: repeat-x ;
padding: 0px;
margin: 0px;
z-index: 0;
}

However, for some reason, it will not produce the background gradient.

When I try and validate the main.css file in CSSEdit, it comes back with:
Value Error background (nullcolors.html#propdef-background) Parse Error.
It applies this Value Error with all background styles containing a url link.

Any ideas?

Thanks in advance.

SamS
 
SamS replied on at Permalink Reply
SamS
Never mind, figured it out.
stressandhealthresearch replied on at Permalink Reply
What was it?

I'm having trouble with my background gradient as well. For some reason when I tell it to only repeat-x it repeats on the y axis as well :(

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.