Last updated August 26, 2009. Created by NancyDru on March 3, 2007.
Edited by ronald_istos. Log in to edit this page.
Some people don't want their site to use the full width of the screen, but this can cause problem for users who aren't using a full sized window. This tip "shrinks" the content area, yet remains fluid, so it works better with smaller windows. It does not change the header and footer size, so they still extend across the full width.
#content {margin-left:10%; margin-right:10%;}Note, this also moves the side bars in. You will have "white space" (actually, your body background color) on both sides.