Centering of two elements relative to one another