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 Text
  <SPAN>Span Text</SPAN>
Text in a div in a div
  More div text

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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:46 UTC