EAD (Encoded Archival Description, Version 2002 Official Site)

Encoded Archival Description Tag Library, Version 2002

Tabular Display Attributes

The following attributes apply to elements that can be used to format tables and other columnar structures.

ALIGN -- Horizontal position of the text within a column. Available in <colspec> and <entry>. Values are:

  • left (flush left)
  • right (flush right)
  • center (centered in the column)
  • justify (flush both left and right)
  • char (alignment on a single character such as a decimal, as positioned by CHAROFF)

CHAR -- Used for horizontal alignment of a single character, such as decimal alignment. This attribute names the character on which the text will be aligned, for example a decimal point, an asterisk, or an em-dash. Available in <colspec> and <entry>.

CHAROFF -- Character offset, used with horizontal character alignment, such as decimal alignment. When the ALIGN attribute value is "char," this is the percentage of the current column width to the left edge of the alignment character. Value is a number or starts with a number. Available in <colspec> and <entry>.

COLNAME -- Name of a column in which an entry appears. Value is one "word" made up of letters and numbers with no spaces inside it. Available in <colspec> and <entry>.

COLNUM -- The number of the column, counting from 1 at the left of the table. Value is a number. Available in <colspec>.

COLS -- The number of columns in a table. Required in <tgroup>.

COLSEP -- If the columns in the table are to be separated by vertical rules, possible COLSEP values are:

  • 1 (display a rule to the right of the column)
  • 0 (no rule is displayed)

COLWIDTH -- Width of the column measured in fixed units or relative proportions. Fixed measure is in the form "number followed by unit," where unit is "pt" for point, "cm" for centimeters, "in" for inches, etc. (i.e., "2in" for 2 inches). Proportional measure is in the form "number followed by asterisk" (i.e., "5*" for five times the proportion). All integers are positive. Use values that are appropriate to the software that governs the display of the resulting table such as a web browser or XSL format objects processor. Available in <colspec>.

FRAME -- Are there rules surrounding the table when the table is printed or displayed? The values of the FRAME attribute indicate the position of the external rules:

  • top (a horizontal rule below the title)
  • sides (left and right vertical rules)
  • topbot (horizontal rules top and bottom)
  • bottom (horizontal rule after the last row)
  • all (table is printed in a box)
  • none (no rules surround the table)

MOREROWS -- Number of additional rows in a vertical straddle. Value is a number; default value is "0" to indicate one row only, no vertical span. Available in <entry> only.

NAMEEND -- Name of the rightmost column of a span. The value must be a column name, as defined by the COLNAME attribute on a Column Specification <colspec> element. Available in <entry> only.

NAMEST -- Name of leftmost column of a span. The value must be a column name, as defined by the COLNAME attribute on a Column Specification <colspec> element. The extent of a horizontal span is determined by naming the first column (namest) and the last column (nameend) in the span. Available in <entry> only.

PGWIDE -- Does the table run the width of the page or the width of the text column? Values are:

  • 1 (as wide as the page)
  • 0 (fills the text column only)

ROWSEP -- If the rows in a table are to be separated by horizontal rules, possible rowsep values are:

  • 1 (display a rule below the row)
  • 0 (no rule is displayed)

TPATTERN -- Reference to one of a set of standard patterns that define the specifications of particular HTML output tables. Available in <c>, <c01-12>, and <dsc>.

VALIGN -- Vertical positioning of the text within a table cell. Values are:

  • top
  • middle
  • bottom