HI, i wanted to know if my code was ok or not as its not showing up.. body { background:url(http://www.jovenesderiver.com/images/grassif6.gif) ; background-repeat: repeat font: 11px "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica; Code (markup): Thanks, fuser
double quotes.. background:url("your-image-url") ; body { background:url("http://www.jovenesderiver.com/images/grassif6.gif") ; background-repeat: repeat font: 11px "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica; Code (markup):
This works.. body { background:url("http://www.jovenesderiver.com/images/grassif6.gif"); background-repeat: repeat; font: 11px "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica; } Code (markup):
Quotes don't usually make a difference in whether or not the background will work. I think it's just a preference for how some coders do write the background code. You need to add either repeat-y, or repeat-x to the code. Or, just get rid of the "background: repeat" in general and it will work.
This code works correctly if you wish to repeat the image the both vertically and horizontally.. repeat is the default. body { background:url("http://www.jovenesderiver.com/images/grassif6.gif"); background-repeat: repeat; font: 11px "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica; } Code (markup):