The w3-content class defines a container for fixed size centered content.
Automatic left and right margins center the page horizontally on the screen.
Add the class to the body element or to another container around your page.
Use the CSS max-width property to override the default width (980px).
Resize the page to see the effect.