W3C home > Mailing lists > Public > www-style@w3.org > April 2001

Re: Positioning: placing a footer ALWAYS in the bottom of the window.

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Sun, 22 Apr 2001 09:10:22 -0400 (EDT)
Message-Id: <200104221310.JAA01289@is02.fas.harvard.edu>
To: macsei@yahoo.com.br, www-style@w3.org
On Sun, 22 Apr 2001 03:53:34 -0300, Roberto (parlis@e-net.com.br)
wrote:
> Netscape 6.01: No, nothing happened.

I believe this is correct since CSS2 section 10.5 says [1]:

  <percentage>
    ... If the height of the containing block is not specified
    explicitly (i.e., it depends on content height), the value is
    interpreted like 'auto'.

Since the height of the body element (and the html element, if body's
height is specified as a percentage) is not specified explicitly, the
percentage height you give should be interpreted like 'auto'.

-David

[1] http://www.w3.org/TR/REC-CSS2/visudet.html#the-height-property

L. David Baron        <URL: http://www.people.fas.harvard.edu/~dbaron/ >
Mozilla Contributor                      <URL: http://www.mozilla.org/ >
Invited Expert, W3C CSS WG          <URL: http://www.w3.org/Style/CSS/ >
Received on Sunday, 22 April 2001 09:10:29 GMT

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