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

Re: Addressing space outside a document's root element

From: Axel Dahmen <brille1@hotmail.com>
Date: Mon, 13 May 2013 15:55:25 +0200
To: www-style@w3.org
Message-ID: <kmqrc8$t6$1@ger.gmane.org>
Oops, didn't revise my message... I forgot to finish one of my sentences...

Following is the revised content:



I noticed that - for HTML documents - rules applied to the <body> element 
are
not applied to space below the lowest flow or block element inside the
<body> element.

This is quite notable for the "cursor" property when applied to <body>.

Of course, there are several workarounds available to cope with this
problem. One of them is to assign those properties to "*". Another is to set
the "height" property of the <body> element to "100%".

Is this a peculiarity to HTML and the <body> element? Because if it isn't I
would prefer if CSS provided a declarative way (hence, a selector) to
address space outside the root element.

Regards,
Axel Dahmen
Received on Monday, 13 May 2013 13:56:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:29 UTC