Getting all icons in one file requires some handy works to layout the pictures in both css and html.
I recently put some sample buttons and logo using the one is implemented by YouTube and is available here.
Developing for Microsoft platform
As usual there are more roads leading to Mekka. This is one way of getting the same result without any scripts. It uses a simple cascading stylesheet:
padding: .5em 1em;
border-top: 0px solid #ccc;
padding: 0 0 0 0;
margin: -20px 0 0 -100px;
left : 50%;