Re: Table height/width properties

On Mon, 2 Jul 2001, Glen Harman wrote:
> Well, if width specifies content width I presume that refers to content
> edge.  So if it is calculated directly against parent width values, I take
> that to mean it is relative to the parent's content edge and thus the
> parent's content edge equates with the containing block established
> by said parent.  But the definition of padding edge, found in section
> says that it is padding-edge which defines the containing block.

This was an error:

>     respect to the height of the generated box's containing block. If the
>     height of the containing block is not specified explicitly (i.e., it
>     depends on content height), the value is interpreted like 'auto'.
> maybe it is that last sentence which is driving this?  In my first test
> ( ) outer table, outer table td,
> inner table, and inner table td all have height:100% properties.  But
> if percentage entries qualify as "not specified explicitly" and my
> properties are being ignored and treated as auto, I guess that
> might account for the "shrinking" I'm seeing.

If you specify 'height: 100%' on everything up through BODY and HTML
then it will be explicitly specified (at least under some
interpretations of the spec).


L. David Baron        <URL: >
Mozilla Contributor                      <URL: >
Invited Expert, W3C CSS WG          <URL: >

Received on Monday, 2 July 2001 13:19:48 UTC