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

RE: IE6 standard-compliant mode and TABLE elements

From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
Date: Fri, 31 Aug 2001 03:34:07 -0700
Message-ID: <81E198609B9DD311BE0A00508B5E2984C9909E@ipsent02.camelot.seagatesoftware.com>
To: "'Brian James'" <bjames@telseon.com>, www-style@w3.org
This new behaviour is the result of fixing a bug; the <body> element; The
correctly interpreted html body element is only as tall as the calculated
height of the elements *contained* in the document

The result of this is that percentage heights (and widths) in CSS are
percentages of their parent; if the parent's size is dependent on it's
children and it's children are dependent on the parent you're stuck (in
reality the percentage goes to 0px)

There are other responses in the Microsoft newsgroups to which you posted
offering further explanation, if required.


-----Original Message-----
From: Brian James [mailto:bjames@telseon.com]
Sent: 30 August 2001 17:48
To: www-style@w3.org
Subject: IE6 standard-compliant mode and TABLE elements

With IE6 standards-compliant mode enabled, I am no longer able to create
variable height TABLE rows.  For example, create a table with three rows.
Set the table height to 100%, then set the height of two of the three rows
to 1px.  This will cause the height of the third row to auto-fill.  This
functionality is very handy, but apparently no longer works in IE6
standards-compliant mode.  Any suggestions?

<table style="width: 100%; height: 100%">
<tr style="height: 1px; background-color: aliceblue;">
<tr style="height: 1px; background-color: aliceblue;">

Brian R. James
Received on Friday, 31 August 2001 06:34:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC