How to have html table's height = height of parent div when div's height is not set

Posted by Tony_Henrich on Stack Overflow See other posts from Stack Overflow or by Tony_Henrich
Published on 2010-04-13T19:27:29Z Indexed on 2010/04/13 19:33 UTC
Read the original article Hit count: 236

Filed under:
|

I have an html table, inside of a div. The div's height is based on other elements in the div.

How can I have the table's height be equal to its parent div's height?

(table height: 100% won't work because the div's height is not set)

© Stack Overflow or respective owner

Related posts about css

Related posts about html