Forum Moderators: not2easy

Message Too Old, No Replies

Background image

         

Sarah Atkinson

7:28 pm on May 24, 2006 (gmt 0)

10+ Year Member



I have a gif to uses as a background image. I wish to have it repeat but with an overlap. the image is 120 px high and I would like it to repeate every 40 px. is this posible?

monstordh

8:26 pm on May 24, 2006 (gmt 0)

10+ Year Member



what's keeping you from just cropping the gif to 40px?

Sarah Atkinson

9:15 pm on May 24, 2006 (gmt 0)

10+ Year Member



it's transparent and I'd like them to over lap

Setek

5:50 am on May 25, 2006 (gmt 0)

10+ Year Member



no,
repeat-y
and
repeat-x
aren't so customisable - it will repeat as soon as the image finishes, to sit flush against it.

If you only need it repeated once, I'd put each background image in two

div
s, then overlay them absolutely (or just have it as one bigger image.)

If you need it repeated several times, I would rethink the flow of the image - change the image to repeat smoothly.