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

Re: height as percentage and inheritance

From: Rijk van Geijtenbeek <rijk@iname.com>
Date: Sat, 3 Aug 2002 12:58:31 +0200
Message-ID: <101150281.20020803125831@iname.com>
To: www-style@w3.org

Hello ex1),

On Saturday, August 3, 2002 you wrote:

> In the following example a p has a height of 4in; the div inside
> that has height: 50% and the div inside that has a height: inherit.

The 'P' stuff isn't in your code example. And that is a good thing, as
P can't contain DIV.

> In reading the spec I assume that the inner div should inherit the
> computed value (not percentage). This is the behaviour Mozilla uses.
> But IE6.0 (Win32) and Opera6.0 seem to ignore height: inherit and
> use height: auto instead.

Support for 'inherit' can be called 'shaky' at best in Opera 6.
Mozilla's behavior is correct.

 Rijk                            mailto:rijk@iname.com

Mot du Jour:
Make it as simple as possible, but no simpler.
Received on Saturday, 3 August 2002 06:56:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC