alfardan
asked on
Table doesn't take height of 100%, why?
Hello
Please check the attached html code, why doesn't table1 strech to fill the complete space of the <td> that contains it? How do I let it strech 100% of it to have the same height as that of table2?
Please check the attached html code, why doesn't table1 strech to fill the complete space of the <td> that contains it? How do I let it strech 100% of it to have the same height as that of table2?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<div align='center'>
<table border='0' cellpadding='0' style='border-collapse: collapse' align='center'>
<tr>
<td valign='top'>
<table name='table1' border='1' cellpadding='0' style='border-collapse: collapse' align='center' height=100%>
<tr height=100%>
<td valign='top' height=100%>TESTING 1 2 3<td>
</tr>
</table>
</td>
<td style='padding-left: 10'></td>
<td valign='top'>
<table name='table2' border='1' cellpadding='0' style='border-collapse: collapse' align='center' height=100%>
<tr height=100%>
<td valign='top' height=100%>TESTING 1 2 3<br>TESTING 1 2 3<br>TESTING 1 2 3<br>TESTING 1 2 3<br><td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to you all
Open in new window