center div max width code example Example: justify center wont wotk with max-width css margin-left: auto; margin-right: auto;