HTML and CSS Reference
In-Depth Information
TABLE 10.3
Continued
Attribute
Applied to Element
Use
Defines the number of columns in a
column group. Must be an integer
greater than 0.
span
<colgroup>
Defines the number of columns that
a cell spans. Must be an integer
greater than 0.
<col>
Defines the width of all cells in a
column group.
width
<colgroup>
Defines the width of all cells in one
column.
<col>
<th> or <td>
Indicates the number of cells to the
right of this one that this cell will
span.
colspan
<th> or <td>
Indicates the number of cells below
this one that this cell will span.
rowspan
Indicates the vertical alignment of
the cells within that row (overriding
the defaults). Possible values are
top , middle , and bottom .
valign
<tr>
<th> or <td>
Overrides both the row's vertical
alignment and the default cell align-
ment. Possible values are top , mid-
dle , bottom , and baseline .
<thead> , <tfoot> , <tbody>
Defines vertical alignment of cells in
the table head, table foot, or table
body.
Defines the vertical alignment of all
cells in a column group.
<colgroup>
Defines the vertical alignment of all
cells in a single column.
<col>
<th> or <td>
Deprecated in HTML 4.01. Indicates
width of the cell in exact pixel val-
ues or as a percentage of table
width (for example, 50%).
width
 
 
 
Search WWH ::




Custom Search