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

Re: canvas <html> <body>

From: <ewexler@stickdog.com>
Date: Sun, 5 May 2002 08:21:52 -0700
To: www-style@w3.org
Message-ID: <3CD4EBA0.2932.17F84D6@localhost>
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

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