Varianta in limba Romana (tradusa de Google).
Do you seem that some image is not exactly centered as you wish? Should be 5 pixels left or about 7 pixels upper? This short step-by-step procedure shows you how to center one layer in another by using Photoshop.
Before we start, I would like to focus your attention on the right upper History panel to follow all actions done by every single step. Also, don’t miss follow the Layers tab in the right lower corner to have an info which one is actually selected. Keep an eye on these two items all the time! They could significantly help you to clarify some doubts.
Well, let’s have a situation: very friendly and cute looking smiley should be exactly centered in the 500×500 pixels blank image. So, first open the smiley.png image and create new one, blank image by File > New selection of the top main menu. After this step #0, your workplace should look like the below one.
Now, make layer from Background of the newly created blank image by double click on it, in the right lower Layers tab. Check, that the name of this layer has changed from Background to Layer 0. Also, notice the History pane at right upper corner to check the change. This first step should be recorded there.