I know there is a similar question here, but it doesn't work in my case.
<table class="Layout"> <tbody> <tr> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> <td><div class="Key">HEY</div></td> </tr> </tbody> </table> How can I make my div.Key elements have the same height as their parent <td> without specifying a height to <td> elements ?
My table will dynamically change (adding and deleting columns and rows) so I can't force the <td> element to an absolute size, and I would also like not to have to compute and give them a relative size every time I modify the table. The .Layout table size also changes dynamically and will always be an absolute value. (For some reasons I would also like not to use row/colspan in case someone suggests that.)
Any idea?