Re: canvas <html> <body>

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