Lesson 4: Resizing

Overview

In this lesson we will look at additional attributes and values that will allow the student to change the size of the table and it's individual cells.

Learner Outcomes

In the following lesson students will learn how to change the table size, change the cell size, and change the cell spacing and padding.

To change the table size:

<TABLE Border="3" WIDTH="600" HEIGHT="400">
<TR
 <TD>
 <TD>
<TR>
 <TD>
 <TD>
</TABLE>

To change the size of a cell:

<TABLE> <TR>
 <TD Width="200" Height="100">
 <TD>
<TR>
 <TD>
 <TD>
</TABLE>

To change the cell spacing:
Cell spacing changes the amount of space between each cell in a table.

<TABLE CELLSPACING="15"> <TR>
 <TD>
 <TD>
<TR>
 <TD>
 <TD>
</TABLE>

To change the cell padding:
Cell padding changes the amount of space around the contents of each cell in a table.

<TABLE CELLPADDING="15"> <TR>
 <TD>
 <TD>
<TR>
 <TD>
 <TD>
</TABLE>