Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread bruce . somers
 "David Postill" : >http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.celticmanner.com%2F_CNexplore%2Findexsource.html >144 errors > >http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.celticmanner.com%2F_CNexplore%2Findexsource.html >9 errors > >S

Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread Frank
On Mon, 15 Aug 2011 20:52:49 -0400 Ted Rolle Jr. wrote: I prefer mm; I can measure it with a tape measure, but percentages are less rigid. You can get a free screen ruler at: http://www.spadixbd.com/freetools/?referrer=JRulerUser.org FrankD __

Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread David Postill
On Tue, 16 Aug 2011 13:27:40 +0200 (CEST), bruce.som...@web.de wrote: | > Tim Climis wrote: | | > 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. | > bod

Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread David Laakso
On 8/16/11 7:27 AM, bruce.som...@web.de wrote: Here I am again. Bruce Validate the CSS. And have a cup of coffee. Change two instances of margin: 0 left; to margin: 0 auto; http://chelseacreekstudio.com/ __ css-d

Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread bruce . somers
> Tim Climis wrote: > 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; > } Here I am again. I added a width, but

Re: [css-d] Centering an entire page in the available window.

2011-08-16 Thread bruce . somers
Thanks to all for the assistance. Monday, August 15, 2011 8:52:49 pm Ted Rolle Jr. wrote: > > 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 nee

Re: [css-d] Centering an entire page in the available window.

2011-08-15 Thread Mark Henderson
On 16 August 2011 10:02, Tim Climis wrote: > You're almost there.  First, you don't need text-align: center.  That's extra. Extra *unless* you plan on supporting earlier versions of IE. -- /*Mark __ css-discuss [css-d@lists.css-d

Re: [css-d] Centering an entire page in the available window.

2011-08-15 Thread Tim Climis
On Monday, August 15, 2011 8:52:49 pm Ted Rolle Jr. wrote: > > 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 yo

Re: [css-d] Centering an entire page in the available window.

2011-08-15 Thread Ted Rolle Jr.
> > 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 { > ma

Re: [css-d] Centering an entire page in the available window.

2011-08-15 Thread Tim Climis
> 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 ext

[css-d] Centering an entire page in the available window.

2011-08-15 Thread bruce . somers
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. Thanks for any assistance. Bruce