Resize the browser window to see the effect.

This page is always centered on screens that are wider than 500px. On screens that are less than 500px wide, it will span the whole of the page.