W3C home > Mailing lists > Public > www-style@w3.org > April 2002

Re: canvas <html> <body>

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Apr 2002 20:11:52 +0100
Message-ID: <3CCEEC78.1050105@hixie.ch>
To: Sigurd Lerstad <sigler@bredband.no>
CC: www-style@w3.org
Sigurd Lerstad wrote:
> Hello,
> If I understand correctly, in XHTML the <html> tag is the canvas and creates
> a block box?

The <html> element is the only child of the infinite canvas. It is whatever box 
it is set to using the 'display' property (and hopefully in CSS2, the 'position' 
and 'float' properties).

> If there's also a <body> element, will that create another block box as the
> child of the <html> block box?

Assuming <body> is set to display:block as well, then yes.

Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13
Received on Tuesday, 30 April 2002 15:12:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:01 UTC