You can specify the width of a table by using either a percentage or a pixel width.
<table width="100%" border="2">
<tr><td>A</td> <td>B</td> <td>C</td> </tr>
<tr><td>X</td> <td>Y</td> <td>Z</td> </tr>
</table>
Since the width is set to 100% that means the table will take up 100% of the screen and the
columns in the table will be adjusted evenly. Here's what it would look like.
| A | B | C |
| X | Y | Z |
As we mentioned, you can also set the table width using pixels instead of percentages. So instead
of setting it to 100%, you could set it to 300 pixels:
<table width="300" border="2">
<tr><td>A</td> <td>B</td> <td>C</td> </tr>
<tr><td>X</td> <td>Y</td> <td>Z</td> </tr>
</table>
The table would look like this:
| A | B | C |
| X | Y | Z |
Lesson # 16 : HTML Tutorial - Setting Column Widths