Выравнивание блока по центру. блок absolute
left: 0; right: 0; margin-left: auto; margin-right: auto;