Table example


Cell widths can be specified as a percentage of table width....

....and table width as a percentage of window width.

Example 1

<table border="1" width="75%">
  <tr>
    <td width="20%">20%</td>
    <td width="50%">50%</td>
    <td width="15%">15%</td>
    <td width="15%">15%</td>
  </tr>
</table>
20% 50% 15% 15%

 


Example 2

<table border="1" width="100%">
  <tr>
    <td width="50%">50%</td>
    <td width="50%">50%</td>
  </tr>
</table>
50% 50%

 


HOME | ART | BACKGROUNDS | HELP