Re: Specifying height of Initial Containing Block?

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 UTC