> and this
>
>         #pagebody
>         {
>             background-color: #fbb;
>             width: 500px;
>         }
>
> but how do I center this part?

Hidden deep in the web that:
http://www.google.com/search?client=safari&rls=en&q=centering+in+css
I feel lucky: http://www.bluerobot.com/web/css/center1.html

add a margin:0 auto; and you are set.

For older MSIEs you also need to use text-align:center on the body and
override it with left on the page body again
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to