A general wrapper can look like this:
.pagewrap { margin-right: auto; margin-left: auto; max-width: 960px; padding-right: 10px; padding-left: 10px; }
Instead of a fix width, we set a maximum width, which is better for mobile devices, as the width varies from that of a desktop device.
In the example, 960px is assumed for the maximum screen size of all devices, but 20px deducted for the borders.
Now, you just set up the wrapper as a <div> in your HTML document between the body tags and reference it in the CSS.
A wrapper in the body tag itself is not recommended, as you want to be flexible when having separate elements, such as a sticky footer.
0 - 0