mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-13 11:10:13 +01:00
40 lines
974 B
HTML
40 lines
974 B
HTML
<html>
|
|
<head>
|
|
<title>Testing the use of table height</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<P> 100 percent height table inside 100 percent height table:</P>
|
|
<!-- This works -->
|
|
<table border=1 width="100%" height="100%" bgcolor=grey>
|
|
<td width="50%">
|
|
<!-- This does not work -->
|
|
<table width="100%" height="100%" border=1 bgcolor=yellow>
|
|
<td width="50%"> Inner Table (yellow)</td><td width="50%"> </td></tr>
|
|
</table>
|
|
</td>
|
|
<td width="50%">
|
|
Outer Table (grey)
|
|
</td>
|
|
</table>
|
|
|
|
|
|
<P> 50 percent height table inside 100 percent height table:</P>
|
|
<!-- This works -->
|
|
<table border=1 width="100%" height="100%" bgcolor=grey>
|
|
<td width="50%">
|
|
<!-- This does not work -->
|
|
<table width="100%" height="50%" border=1 bgcolor=yellow>
|
|
<td width="50%"> Inner Table (yellow)</td><td width="50%"> </td></tr>
|
|
</table>
|
|
</td>
|
|
<td width="50%">
|
|
Outer Table (grey)
|
|
</td>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|
|
|