My Table Example |
||
cellpadding |
Tables control Web page layout. | |
Tables are controlled with the attributes cellpadding (how much padding surrounds the content inside a cell); cellspacing (how much space appears between adjacent cells) and border (the width of the lines between cells). All three are measured in pixels. These attributes appear inside the TABLE tag. |
||
The attributes rowspan and colspan allow one cell to span more than one row or column. These attributes appear inside the TD tag. | ||
Finally, positioning of elements within a table cell is controlled by align (left, center, right) and valign (top, middle, bottom). These attributes also appear inside the TD tag. The mouse knows this. |