WordPress.org

Ready to get started?Download WordPress

Forums

Centering website on the page. (2 posts)

  1. carlaivon
    Member
    Posted 7 years ago #

    The site that I'm working on is http://www.grandiachapin.org
    How do I center the website so is centered in the whole window page?

    Thanks,

    Carla

  2. tripleX2k7
    Member
    Posted 7 years ago #

    Put a div tag around everything in the body of index.php, give it an id, and then in style.css use code similar to the following:

    #yourdiv{
         float:none;
         margin:0 auto 0 auto
    }

    I think this should work.

Topic Closed

This topic has been closed to new replies.

About this Topic