A box with absolute positioning cannot be centered horizontally with margin: 0 auto
The following methods should be used to achieve horizontal centering and vertical centering
1. Horizontal centering:
left: 50%
margin-left: -100px (100px is half the length of the box)
2. Center vertically:
top: 50%
margin-top: -100px (100px is half the height of the box)