View Full Version : Background problem...

02-03-2004, 01:50 AM
Ok I made this image(see the image posted) and it's 500x500. I want it to be my background image and I want it to repeat like in 1 flow..ya know? anyhow, thats what Im lookin for, Thanks.


02-03-2004, 08:34 AM
I want it to repeat like in 1 flow..ya know? Eh, no, I don't.
What do you mean with "flow"? On what do you want it to be the background? Basically, with CSS you can assign a background for just about every element:

body { background-image: url(theimage.jpg); }
I've chosen body here, but that can be a number of things.
Furthermore, you can control the repeat behavior and position; check out the W3C specs for more details: CSS2: Colors and Backgrounds (http://www.w3.org/TR/REC-CSS2/colors.html#background-properties)

02-03-2004, 05:23 PM
I want to use that as my main pages background image. And since the image is 500x500 I want to make the image continue in a down path, not tiling over..just going down.

Roy Sinclair
02-03-2004, 06:31 PM
Then use the "background-repeat: repeat-y;" CSS -- see the link Ronald gave for more options. You'll probably want to also use "background-position" to set your background it to the left, the right or the center of the page as well.