How to center the text in the middle of body css code example Example: html center body body { max-width: max-content; margin: auto; }