using css for centering

by Nate Harel <nharel(at)nettech-services.net>

 Date:  Mon, 03 Jun 2002 11:26:57 -0400
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hi all,

I am trying to be a law abiding citizen and am working as much as I can 
learning and using CSS.

One of the things I am struggling with is how to center a design.

I want to produce a page that is entirely centered on the page. Using 
tables, this is easy. I simply make a table with a particular width and 
center it. Then no matter the size of the screen, the contents are centered.

How do I do the same with CSS?


Nate



                 ----------------------------------
                             Nate Harel
                         NetTech Services
                           56 Pickering Street
                   Needham, MA  02492-3198
                       Tel:  1-781-559-8176
                   Toll Free: 1-877-567-8936
                      FAX:  1-877-567-8936
                 Email:  nharel(at)nettech-services.net
                      www.nettech-services.net
                      www.nettech-backup.com
                 ----------------------------------

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA