W3C home > Mailing lists > Public > www-style@w3.org > August 2000

Re: Specifying height of Initial Containing Block?

From: ValerieGSharp <ValerieGSharp@netscapeonline.co.uk>
Date: Sun, 27 Aug 2000 15:41:59 +0100
Message-ID: <39A928B7.E388E243@netscapeonline.co.uk>
To: Jan Roland Eriksson <jrexon@newsguy.com>
CC: www-style@w3.org
Jan Roland Eriksson wrote:

> [...]
> 
> >If so, how can one specify a height property for it, when according to
> >HTML4.01 neither 'height' nor 'style' are valid attributes for it?
> 
> In your linked external stylesheet...
> 
>   HTML { height: 100%;}
> 
> ...but personally I would not bother with the HTML element, set your
> initial values for the BODY element instead, better chance of some
> support that way.
> 

Thanks for the reply.
'Twas beginning to dawn on me that that was the way to do it.

However, M17 (probably quite rightly) doesn't accept height:100% on BODY
as sufficient, it not being the initial containing block - and while
that remains 'auto', then BODY height 100% will be auto too.

[M17 also (probably quite wrongly) doesn't accept height:100% on HTML as
sufficient - but that's another story...]

So, seems like it would be wise to use both.

-- 
Regards,
Val Sharp - Edinburgh
Received on Sunday, 27 August 2000 10:42:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT