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

Absolute positioning (was: Relative positioning)

From: <JOrendorff@ixl.com>
Date: Tue, 1 Feb 2000 18:10:16 -0500
Message-ID: <CD8E2CDBC6D0D111ACB900805FBBD97E02630160@mem-131.ixl.com>
To: www-style@w3.org
Rick Johnson wrote:
> http://www.firespring.com/testcssp2.html
> 
> The only change between pages is that I added a "bottom: 200px;" to
> the attributes for MAIN, just to show that it doesn't work (at least
> in IE5 or NS4.7; I haven't checked others yet).

This reminds me:  there is a bug (well, I consider it a bug) in the
CSS2 absolute positioning rules [1] that causes the 'bottom' property
to be ignored in many situations.  The "bug" actually affects some of
the sample code in the CSS2 spec itself [2].

Are these rules being revised for CSS3?

[1] Absolute positioning rules, height calculations
http://www.w3.org/TR/REC-CSS2/visudet.html#abs-non-replaced-height

[2] Example of absolute positioning rules:
http://www.w3.org/TR/REC-CSS2/visuren.html#fixed-positioning

Mozilla has serious problems trying to render [2], but if you specify
backgrounds for everything and then specify 'margin-top: auto' on the
footer, you'll see the intended behavior.

-- 
Jason
Received on Tuesday, 1 February 2000 18:10:50 GMT

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