W3C home > Mailing lists > Public > www-style@w3.org > February 2005


From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Thu, 10 Feb 2005 15:24:51 +0100
To: www-style@w3.org
Message-ID: <opslzjnple4b88i7@crissov>

*Laurens Holst* <lholst@students.cs.uu.nl>:
>  From what I gather, you are talking about the fact that in an XHTML  
> page, the body tag doesn’t automatically gain the height of the  
> viewport, but instead sizes to the content like any other box does,  
> right?
> body { height: 100% } will usually do the trick.

That, however, can easily and conformantly be included into the UA default  
stylesheet for 'application/xhtml+xml' resources as well. It does not even  
have to differ from the 'text/html' one AFAICS.

> And in the end, the behaviour is more logical.


> On a sidenote, obviously there is no real need for either an id or a  
> class attribute on the html element (from a styling perspective at  
> least) as it only occurs once in a document.

A stylesheet not necessarily applies to one marked up document only and  
thus may apply to more than one 'html' instance, but there's no way (yet)  
to make an external CSS know which of these it currently is being applied  
onto except with unique attributes (or better unique values of common  
Received on Thursday, 10 February 2005 14:26:05 UTC

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