The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Center whole blog
Hi,
I’m looking to center my whole blog..like.. http://i45.photobucket.com/albums/f56/p … 110044.png
Not sure how to figure this out.. I can center it but then the text in the blog gets centered when I need everything centered except the text which should remain in align left..
Anyone know how to do this?
Thanks
The exact code depends on how your site is coded, but it’s usually done like this:
This assumes that you have a div with an id of "wrapper" that wraps around your entire site. It has a fixed width and the "margin:0 auto" centers it.
I’m using a fullwidth framework..
I’m after the content being centred..
I think I worked it out to be
#content { margin:auto; width:600px;
http://www.leehughes.co.uk/newsite/blog-2/
It looks centered but i’m not sure how it will stand in different browsers
It’s the outer wrapper that you need to center to center the whole blog