div { position: absolute; left: 0; right: 0; }
position 에서는 margin: 0 auto; 안됩니다.
position
margin: 0 auto;