WordPress.org

Ready to get started?Download WordPress

Forums

Centre align widget in page, to match rest of site (1 post)

  1. billyghb
    Member
    Posted 1 year ago #

    Hi, fairly new to this website building malarky, but I've managed to build this site...

    http://www.billybolton.com

    It's all going fine but today I added this bit of code to center my site in the middle of the browser...

    *{
       margin:0;
       padding:0;
    }  
    
    body{
       text-align:center;
    }  
    
    #wrapper{
       width:1276px;
       margin:0 auto;
       text-align:left;
    }

    I got that code from this site

    http://buildinternet.com/2008/11/how-to-center-a-website-with-css/

    It all seems great except the text widget on the left one do the same. Sorry if this has been covered - I did search. Any help would be great, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic