9 border:
1px solid green;
11 table.inner {margin:
20px; width:
600px;}
15 <pre>These tables below all have the HTML + CSS ...
17 <TABLE
><tr
> table {
18 <td
><TABLE style='margin:
20px; padding:
19px;'
> width:
600px;
19 <tr
><td
></td
></tr
> border:
1px solid red;
20 </TABLE
></td
> empty-cells: show;}
21 </tr
></TABLE
> td {
22 border:
1px solid green;}
23 table.inner {margin:
20px;}
25 ... and differ only in the value of 'padding:'. From top table to
26 bottom:
0px,
10px,
19px,
20px,
25px. Note that for a
<u><i>table over-constrained
27 within another table
</i></u>,
<i><u>when (padding
>=margin)
</u></i>, the margin is
<i><u>all allocated
28 to the right hand side
</u></i> of the table (and to the left if 'direction: rtl;'.
</pre>
30 <TABLE style='width:
600px; border:
1px dotted blue;'
><tr>
31 <td>600px table for width comparison
</td>
35 <td><TABLE class='inner' style='padding:
0px;'
>
42 <td><TABLE class='inner' style='padding:
10px;'
>
49 <td><TABLE class='inner' style='padding:
19px;'
>
56 <td><TABLE class='inner' style='padding:
20px;'
>
62 <td><TABLE class='inner' style='padding:
25px;'
>