The video below details on technique for finding the X,Y coordinates for individual elements within a CSS sprite. This code for the buttons described in this tutorial can be found on this page, http://citsf221.community.uaf.edu/2009/08/07-csssprites/. View source on that page to see the HTML