Re: canvas <html> <body>

Sigurd Lerstad wrote:

> ... Do you mean by that, that
> the element has not been mentioned in a stylesheet? I thought that it would
> then take on the default css properties, and the default property for
> display is inline, so if html hasn't been styled, it would have display:
> inline ?

You are basically correct about the mechanism by which the cascade sets properties.  
However, a root element, such as 'html' in an XHTML document, will always have a 
computed 'display' of 'block'.-- 
Etan Wexler <mailto:ewexler@stickdog.com>

Received on Sunday, 5 May 2002 11:36:08 UTC