1
miscade
How to center the site/theme?
  • 2005/3/30 16:51

  • miscade

  • Just popping in

  • Posts: 18

  • Since: 2005/2/18


How to have the site or theme centered in the browser page, with a predefined width/percentage?

Thanks
_________________
Miscade

2
tjnemez
Re: How to center the site/theme?
  • 2005/3/30 19:41

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


in your style.css add this to body element:

body {
text-align:center;
}

and in your main div or table add this:

#mainwrap {
margin: 0 auto;
width: 800px;
text-align: left;
}

Login

Who's Online

376 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 376


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits