I’m fairly new in CSS web design. I found some website combine multi image in one image file. This is an example from Amazon :
And i really want to know how to do it in the best way. Is there any tool for combine image and get pixel position of each image to put them in CSS?
They are called CSS Sprites. You can google a lot of information. This techniques are used by most sites to reduce loading time. What you basically do is load one images in all the elements you want to load the images.
But you load them as their background images, thus enabling you to modifying their position. Thus making it possible to show different version of same images.
I dont want to tell everything so here is a futher read to get you started.