CSS Sprites Bottom repeating

Posted by Wayne on Stack Overflow See other posts from Stack Overflow or by Wayne
Published on 2010-06-03T20:22:10Z Indexed on 2010/06/03 20:24 UTC
Read the original article Hit count: 325

Filed under:
|
|

Can you bottom repeat a sprite background where I want the sprite to be set of the background on the bottom of the div. I have this:

.statistics-wrap {
    margin-top: 10px;
    background: url(../img/bg-sprite.png) repeat-x 0 -306px bottom;
    overflow: hidden;
    border: 1px #BEE4EA solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 10px;
}

It doesn't seem to appear, if I remove the bottom it will appear but it is set in the background repeating horizontally at the top of the div which I want it to repeat at the bottom.

Is it possible?

© Stack Overflow or respective owner

Related posts about css

Related posts about stylesheet