CSS Sprites
, , , CSS- . , CSS sprites , CSS-Tricks: http://css-tricks.com/css-sprites/
?
I assume that the sample image in your question is a bit contrived. If not, I would suggest not using background images for this at all. CSS is very powerful today, and you can use it to create very nice buttons that don't require images at all. If you want to use some simple background colors, gradient, rounded corners, etc. - all this is possible only with CSS. In addition, the text / CSS button solution increases its accessibility.
source
share