私は上部中央に私のスプライトを配置したい場合はどう相対的な位置決めスプライト
background: url(/images/sprites.png) no-repeat 0 -22px;
または
background: url(/images/sprites.png) no-repeat top center;
を行うことができますか?同様:
background: url(/images/sprites.png) no-repeat 0 -22px top center;
UPD
私はダイナミックな幅のブロックを持っています。私はtop center
スプライトの一部である私のイメージを入れたいです。
あなたはそれを行うことはできません。そのような単純な。 –