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

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

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

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

malcolmboston wrote:im not doing it like this
then how are you doing it?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

i want the image to stretch to the bottom of the page depending on how much content is on-screen
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

stretch, not repeat? That'd require Javascript to detect the size of the page and the size of the screen I believe.
Post Reply