Grow your CSS skills. Land your dream job.

Centering the main wrapper

  • # June 20, 2012 at 3:15 am

    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?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".