background image vertical repeat for a div

Posted by ShiVik on Stack Overflow See other posts from Stack Overflow or by ShiVik
Published on 2010-06-09T08:14:49Z Indexed on 2010/06/09 8:22 UTC
Read the original article Hit count: 236

Filed under:
|

hello all

I want to repeat a background-image for a div vertically till the bottom of the page.

#repeat {
   background: url(repeat-image.png) repeat-y;
   height: 100%; /* this does not work, but height: 1024px; does */
}

This does not work. I need to do so according to the page design that I have got. Can this be done?

With regards Vikram

© Stack Overflow or respective owner

Related posts about css-layout

Related posts about css-positioning