Amazing! While text-align
would only center the text, setting the right and left margins to auto
puts the whole element in the horizontal center.
Yikes! While text-align
would only center the text, setting the right and left margins to auto
puts the whole element in the horizontal center.