Page 1 of 1

do it like -> background-repeat: repeat-x

Posted: Sat Apr 01, 2006 3:51 pm
by malcolmboston
i need to emulate the background-repeat: repeat-x option for an image

basically the image needs to repeat, however from what i understand the above CSS snippet only works on backgrounds for HTML elements (div, td etc), im not doing it like this

any advice would be great

Posted: Sat Apr 01, 2006 6:04 pm
by feyd
malcolmboston wrote:im not doing it like this
then how are you doing it?

Posted: Sat Apr 01, 2006 11:02 pm
by malcolmboston
i want the image to stretch to the bottom of the page depending on how much content is on-screen

Posted: Sat Apr 01, 2006 11:08 pm
by feyd
stretch, not repeat? That'd require Javascript to detect the size of the page and the size of the screen I believe.