Centering with position

(its necessary to set a fixed width and height, it does not work with uknown width / height).