1
monokill
How to make site centered and with a certain width
  • 2004/6/10 23:54

  • monokill

  • Just popping in

  • Posts: 12

  • Since: 2004/6/2 3


my site right now is attached to the left side of the browser. Where can i edit so it is centered?

Thanks aloT!!!!

2
tjnemez
Re: How to make site centered and with a certain width
  • 2004/6/11 0:12

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


You can use the following CSS as a solution for centering a div containing the whole document:

body { text-align: center;}

main.div {text-align: left}

you can add width to body, div, table.

#main.div {width: 760px;} or 100% and so on.

Login

Who's Online

273 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 273


more...

Donat-O-Meter

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

Latest GitHub Commits