Table 1 Example |
||
|
cell padding cell spacing border rowspan colspan align valign |
Tables control Web page layout. |
|
|
Tables are controlled with the attribute cellpadding(how much padding surrounds the content inside a cell); cellspacing (how much space appears between ajacent cells) and border (the width of lines between cells). All three are measured in pixels. These attributes appear inside the TABLE tag. |
| The atrributes rowspan and colspan allow one cell to span more than one row or column. These atrributes 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 ram knows this. |
|