how to use text align center with max width code example Example: justify center wont wotk with max-width css margin-left: auto; margin-right: auto;