treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Centering the main wrapper

  • I'm duplicating a WordPress site from an existing Drupal site. The Drupal designer did not use margin:0 auto like I'm used to on the page-wrapper. He used

    left: 50%;
    margin-left: -495px;
    min-height: 500px;
    position: relative;
    width: 990px;


    http://www.cermedint.com/

    Here is my version:
    http://cermedcorp.com/
    I tried this on the page id and it's working out. What I noticed on the Drupal site is that it looks better on the iPhone

    Any advice on the best way to center this website?