12 The following three examples are
2 nested tables.
<BR>
13 The inner table has a height of
100%, the outer table has a height set
14 of
200px, on the
<table
>,
<tr
> and
<td
> respectively.
<BR><BR>
15 In all examples the inner table should completely fill the outer table.
16 (with respect of the padding and border ofcourse)
<BR><BR>
18 <table style=
"height:200px" border=
1>
21 <table class=
"sized" border=
1>
22 <tr><td>outer table has height:
200px on
<table
></td></tr>
31 <tr style=
"height:200px"><td>
33 <table class=
"sized" border=
1>
34 <tr><td>outer table has height:
200px on
<tr
></td></tr>
43 <tr><td style=
"height:200px">
45 <table class=
"sized" border=
1>
46 <tr><td>outer table has height:
200px on
<td
></td></tr>
57 <table style=
"height:50%" border=
1>
58 <tr><td>outer table has no height set, inner table has a height of
50%.
<BR>
59 Here the height should be set to auto, because the height of the outer td depends
60 on the content.
</td></tr>