> I expected
> 
> body {
>     margin: auto;
>     text-align: center;
> }
> 
> To center the entire content on a page. I am obviously wrong.
> 
> The page is at  http://www.carlos-nunez.de/
> 
> It must be very simple.
> 

You're almost there.  First, you don't need text-align: center.  That's extra.  
But you do need a width on the body.  By default, it's 100% of the browser, but 
looking at the stuff inside, it only needs to be 885px.  Once you give the body 
a width, it'll center itself up.

body {
  margin: auto;
  width: 885px;
}

---Tim

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to