height in tables

I've got a rather simple problem.<br />
I have a page that is built up on tables. These tables use CSS for their attribute definitions. It looks like this:<br />
<br />
<table class="table1"><br />
<td class="td1"></td><br />
<td class="td2"></td><br />
<br />
now to the CSS file<br />
<br />
.table1<br />
{<br />
...<br />
height: 99%;<br />
}<br />
.td1<br />
{<br />
....<br />
height: 75%;<br />
}<br />
and so on.<br />
<br />
My problem is: the tables only accept absolute height inputs (height: 500; for example), but no relative height attributes like the percentages above. But I want to create a site that looks good independent from the screen resolution. So why does this damn code not take my relative heights?<!--content-->Yes, it does take relative height but relational to content as it is supposed to do... I assume you are abusing the table element for layout rather than for tabulated data.<!--content-->
 
Back
Top