Go through this script to see what I have tried so far.
<div class="outer"> <div class="inner"> <table style="background-color: red; width:100%; height:100%;"> <tr style="background-color: red; width:100%; min-height:30%;"> <td>Name</td> </tr> <tr style="background-color: blue; width:100%; min-height:30%;"> <td>Nirman</td> </tr> <tr style="background-color: blue; width:100%; min-height:30%;"> <td>Nirman</td> </tr> </table> </div> </div>
I need to display this table occupying the entire height of the div, and the rows of this table must be equal in height to occupy the space of the full table. This means that the height of the table should be 100% of the height of the div. and the height of each row should be 30% of the height of the div.
Any idea on how to achieve this? Also, I would like a solution that should work on most browsers, at least starting with IE 8.
Any help on this is greatly appreciated.
source share