ALIGN IMAGES

I need to place a rectangle on top of another rectangle the same size. I have great difficulty alighning the 2 rectangles and often get a heavy line on 1 or more sides. Is there a procedure to align the two rectangles quickly and precisely. I use X7.