PDA

View Full Version : Centering a web page



nickd_101
10 Mar 2008, 05:49 PM
Hi,
I'm working on a website and i'm wondering how/what the best way is to center the page contents so that it appears to have borders down either side. I'm thinking along the lines of newer websites like facebook or even logitech's just as an example.
Also, Is there any upside/downside to even centering the page in this way?

Thanks for your help,
Nick

iblastoff
10 Mar 2008, 06:17 PM
use css (margin:0 auto).