You can't centre a line box
You are correct. You can't center a line box. Such statement does not
make really sense from a CSS 2.1 perspective.
But I still maintain that Dorayme's sentence should be checked,
corrected.
His original/initial sentence went :
"
Centring block elements as opposed to inline material (also sometimes
referred to as inline blocks, e.g.. line blocks) will be next.
"
1- I never ever read about "line blocks" anywhere in CSS 2.1 spec.
2- "inline material": why not use and reuse the CSS 2.1 spec
terminology? I propose inline-level elements (typically text and
images) instead and I think Dorayme should just drop, remove, delete
the part in the parenthesis. E.g. remove "(also sometimes referred to
as inline blocks, e.g.. line blocks)"
3- an inline-block is a very special case of inline-level element and
Dorayme's next pages in his tutorial do not refer or address inline-
blocks at all. So, why mention "inline blocks"?
(well, not without centering the whole block
it's in).
Would be better to say "...e.g. inline boxes and inline blocks".
I think Dorayme should just use the same vocabulary/terminology in use
in the CSS 2.1 and avoid vocabulary/terminology that his tutorial
webpages are not going to address to begin with anyway.
regards, Gérard
--
Internet Explorer 8 bugs: 60 bugs so far
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/
Internet Explorer 7 bugs: 185 bugs so far
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/
Some web authors contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/