- From: Sascha Claus <SC_LE@gmx.de>
- Date: Fri, 22 Mar 2002 20:32:15 +0100
- To: "-(\\/)alus-" <dragon@outpostd34.com>
- CC: www-validator@w3.org
-(\\/)alus- wrote:
> thing. I have already tried using an inline css like style="height: 100%;",
> but this doesn't work either. Is there any way to make a table have a
> height of 100% in XHTML?
It works. <table> has 100% of the parent element's height. The parent
element certainly has no height specified. So it takes the height of the
childs. The child is a table with height 100% of the parent element...
Boom!
You have to declare a height for the parent elements, e.g.:
html {height:100%;}
body {height:100%;}
table {height:100%;}
--
Sascha Claus (no mail copies, please)
mailto:SC_LE@gmx.de PGP-key:0x9E095CA2
The best argument against democracy is a five-minute conversation with
the average voter. (Sir Winston Leonard Spencer "Winnie" Churchill)
Received on Friday, 22 March 2002 14:33:14 UTC