Click to See Complete Forum and Search --> : 100% height table IE + NN


Marino
03-31-2004, 04:19 PM
Hello, i know it is a bit off topic, but one of you must know the answer to this.

i have a table, but whatever i do it won't go to a height of 100% of the page.
I want that to be the minimum size of the table.
I know that in css2 there is something like min-height, but that doesn't work yet.

I got it to work in one way but that is not good enough (didn't work in Netscape)
css put html and body also on 100%

But i need the real solution. How can i, without using frames get a single table on a page to the height of 100% in Internet explorer and in Netscape?

Thanks for your help

mrhappiness
03-31-2004, 04:21 PM
th height you specify is computed based on the parent's height

so do height:100%; for body tag and for html tag too

btw: you don't have no margin and padding for table or body or whatever surrounds your table?

Marino
03-31-2004, 04:43 PM
hmm. Now it does seem to work. Didn't so before.
Well thank you. Now i just need to figure out how i can get the table within the table to be 100 % (damn IE)

mrhappiness
03-31-2004, 04:45 PM
table in table in table in table... :)

what do you want to do?
maybe it will do with less tables and a design of your html reflecting the logical structure of the content?

goldbug
03-31-2004, 05:38 PM
By "Netscape", what version are you talking about? If it's 4.x, and this isn't for an archaic Intranet for a company that still uses 4.x, just don't worry about it. The usage numbers are too small to give a crap.

Marino
04-01-2004, 03:54 AM
Netscape 6
But netscape isn't the problem anymore. That works just like i told it to work. IE on the other hand likes to think to know what you mean by your code and interprets it an other way.