The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Centering the main wrapper

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #35129

    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;

    Here is my version:
    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)
  • The forum ‘CSS’ is closed to new topics and replies.