Forum Moderators: not2easy

Message Too Old, No Replies

Vertically repeating background image

         

RedBall

1:04 am on Jul 9, 2005 (gmt 0)

10+ Year Member



Isn’t there a way to make a vertical background strip that goes all the way from the top to the bottom of the window, no matter how much content you have on the page? No matter what I try, it only repeats until it reaches the end of the content.

RedBall

1:08 am on Jul 9, 2005 (gmt 0)

10+ Year Member



Ohhh, it works if you attach it to the <body> tag. I was trying to do it to a table cell with 100% height.

D_Blackwell

1:15 am on Jul 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Where is this image? Is it in the body, in which case it should repeat to the bottom of the window? Or is it in another box, in which case it will only repeat to the bottom of that box?

html, body {
background: url(image.jpg) repeat-y;
}

or

div {
background: url(image.jpg) repeat-y;
}
<edit> lol - Many a time I've answered my own question moments after not thinking that I could. </edit>