HTML and CSS Reference
In-Depth Information
TABLE 10.3
Continued
Attribute
Applied to Element
Use
(Internet Explorer extension.) Same
as bordercolor , except it affects
only the light component of a 3D-
look border.
bordercolorlight
<table>
(Internet Explorer extension.) Same
as bordercolor , except it affects
only the dark component of a 3D-
look border.
bordercolordark
<table>
Defines the amount of space
between the cells in the table.
cellspacing
<table>
Defines the amount of space
between the edges of the cell and
its contents.
cellpadding
<table>
Specifies a character to be used as
an axis to align the contents of a
cell (for example, a decimal point in
numeric values). Can be applied to
colgroup , col , tbody , thead ,
tfoot , tr , td , and th elements.
char
10
Specifies the amount of offset to be
applied to the first occurrence of
the alignment character specified by
the char attribute. Applies to the
same elements previously listed in
char .
charoff
Defines which sides of the frame
that surrounds a table are visible.
Possible values are void , above ,
below , hsides , lhs , rhs , vsides ,
box , and border .
frame
<table>
<th> or <td>
Deprecated in HTML 4.01. Indicates
the height of the cell in pixel or per-
centage values.
height
<th> or <td>
Deprecated in HTML 4.01. Prevents
the browser from wrapping the con-
tents of the cell.
nowrap
Defines which rules (division lines)
appear between cells in a table.
Possible values are none , groups ,
rows , cols , and all .
rules
<table>
Indicates the width of the table, in
exact pixel values or as a percent-
age of page width (for example,
50%).
width
<table>
 
 
 
Search WWH ::




Custom Search