HTML - статьи

COLGROUP


Description

The COLGROUP element defines a group of one or more columns

and specifies the defaults for all the columns in this group.

Minimum Attributes

<COLGROUP>

All Possible Attributes

<COLGROUP

LANG="..."

DIR=ltr|rtl

ALIGN=left|center|right|justify|char

ID="..."

CLASS="..."

CHAR="."



CHAROFF="..."

VALIGN=top|middle|bottom|baseline>characters...

</COLGROUP>

Elements Allowed Within...

Allowed In Content Of...

Variations

The COLGROUP element is part of the new proposed standard

tables structure. It is not widely implemented in existing browsers.

The end tag is optional and is inferred when a new COLGROUP is encountered

or the THEAD or TBODY element of TABLE.

The order of placement of a series of COLGROUP elements within the TABLE

content is significant, and describes the columns

in the TABLE DIR presentation order, first to last.

ALIGN and VALIGN define the alignment of text within a table cell.

If ALIGN=char, CHAR specifies the alignment character which defaults

to the decimal point for the current language. CHAROFF is a decimal

number that specifies the offset for the alignment character from the

beginning of the table cell in the DIR direction.

The default units is pixels, but may be specified by a suffix on the number.

The standard defined units suffixes include:

pt=points,

pi=picas,

in=inches,

cm=centimeters,

mm=millimeters,

em=em units,

px=screen pixels.

In addition, the special suffix of the percent sign may be used to

indicate the percentage of offset within the cell from the

beginning of the cell.



Содержание раздела