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

Re: Specifying height of Initial Containing Block?

From: Ian Hickson <ianh@netscape.com>
Date: Mon, 28 Aug 2000 10:38:44 -0700 (Pacific Daylight Time)
To: Jan Roland Eriksson <jrexon@newsguy.com>
cc: ValerieGSharp <ValerieGSharp@netscapeonline.co.uk>, www-style@w3.org
Message-ID: <Pine.WNT.4.21.0008281035130.820-100000@HIXIE.netscape.com>
On Sun, 27 Aug 2000, Jan Roland Eriksson wrote:
>
> In your linked external stylesheet...
>   HTML { height: 100%;}

The containing block of the :root element is undefined, and is almost
certainly not the viewport, so height:100% on the HTML element won't help
you. I have proposed that positioning should apply to the :root element,
so that you could do:

   HTML { position: fixed; top: 0; left: 0; right: 0; bottom: 0; }

...which (if I have remembered to what those numbers are relative) will
give you what you intended.

-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Monday, 28 August 2000 13:40:54 GMT

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