PDA

View Full Version : Non-repeating background images


peregrine
08-14-2002, 01:21 PM
I have an image I would like to have shown only once AND as a background (so that I can put stuff on top of it.) Is there a way to do this without using frames?

Squintz
08-14-2002, 01:29 PM
'background-repeat'
Value: repeat | repeat-x | repeat-y | no-repeat | inherit
Initial: repeat
Applies to: all elements
Inherited: no

Got this from http://www.w3.org/TR/REC-CSS2/colors.html#q2

I think the format is background-repeat:no:repeat

you may want to read the link i posted to find out how this works because i have never used it

Happy coding

peregrine
08-14-2002, 02:08 PM
Thanks!!!

I just went to the CSS Reference that is on this very site http://www.wsabstract.com/dhtmltutors/cssreference.shtml .... next time I'll look again before asking.

Once again, thanks.

btw, the proper format is: {background-repeat:no-repeat;}