tags:

views:

30

answers:

2

alt text

my image is 1. Normal repeat-x is 2.

I need image repeat like this 3.

+2  A: 

You can't do that with CSS. What you can do, however, is grab your favorite graphics editing program, and make this instead:

alt text

Use this with repeat-x to get what you want. See: http://www.jsfiddle.net/aPQHe/1

Yi Jiang
But my image is big. Not this image
ebattulga
@ebattulga Nope. Sorry, there's no other way. That's just how `background-repeat` works.
Yi Jiang
A: 

Merge part 1 & 2 of your image 3 and set it as the image to be repeated.

GôTô