CSS Centering 101

Written on September 11, 2004

"The following is documented in order to provide a neat and tidy way of responding to a frequently asked question here at SimpleBits:

How do I center a fixed-width layout using CSS?

For those that know, it's simple. For those that don't, finding the two necessary rules to complete the job can be frustrating. So here it goes."

CSS Centering 101