- From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
- Date: Fri, 31 Aug 2001 03:34:07 -0700
- 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. Rowland -----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;"> <td>Top</td> </tr> <tr> <td>Middle</td> </tr> <tr style="height: 1px; background-color: aliceblue;"> <td>Bottom</td> </tr> </table> Brian R. James
Received on Friday, 31 August 2001 06:34:41 UTC