W3C home > Mailing lists > Public > www-style@w3.org > March 1998

Block Boxes

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Mon, 9 Mar 1998 11:44:19 -0800
To: "'Style Sheet mailing list'" <www-style@w3.org>
Message-ID: <01bd4b93$c02703e0$27afdccf@uspppBckman>
I'm not sure that I understand this part of the spec too well.

"
8.2.1 Controlling box generation: the 'display' property
.....
A block-level box acts as a containing block for its descendant boxes, which
are either block-level boxes or inline boxes (but not both). Sibling
block-level boxes participate in a block formatting context.
......"

The key words I dont undersand are "(but not both)".The literal
interpretation of this would appear to make code such as

<DIV>
  Div Text
  <SPAN>Span Text</SPAN>
<DIV>
Text in a div in a div
</DIV>
  More div text
</DIV>

Illegal in conforming user-agents.(It works perfectly well in IE4 and Nav)

Was this the intention of the authors of the CSS2 spec?

Frank Boumphrey
Received on Monday, 9 March 1998 11:38:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:54 GMT