CSS Sprite Help

I originally used the following code:

background-image: url(../images/tabbottom.gif);
background-repeat: no-repeat;
background-position: left bottom;

The problem is when I convert it to a sprite, I have a fixed background position, for example 0px -400px;

Now, how to put it in the lower left corner?

Also, is it possible to use background-repeat with a css sprite?

Thank you for your time.

+1
source share
2 answers

background-repeat will not play well with your css sprite. and will not install it in the lower left corner. Unfortunately, the only way is to use static width and height. In this case, you better not use a sprite

+3
source

Now, how to put it in the lower left ??

, background-repeat css-?

- , ( ).

+1

All Articles