Hi Lee,
The best way to center a website is to center the body then add a left and
right auto margin on your wrapper div. In the wrapper div you should set the
text-align back to left otherwise all your text will be centered:
body {
text-align:center;
}
#wrapper {
margin:0 auto;
width:800px;
text-align:left;
}
Simply put everything inside the wrapper and you're done!
- Matt =)
Matthew James Taylor
http://matthewjamestaylor.com
> Hello,
>
> I have a quick n easy CSS question.
>
> I want to make a website that is fixed to 800px width.
> What is the best, cross browser compatible way, to center it ?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/