Arbortext Command Language > Functions by Category > Table Functions > Cell Table Attributes
  
Cell Table Attributes
In addition to the attributes listed in the Shared table attributes help topic, the following attributes are supported on cell table objects.
BGCOLOR
This attribute controls the background color of the cell. The value is either a named color or an RGB value.
BOTMARGIN
This attribute has a unitdim value indicating the amount of white space to be left between a cell's bottom rule and the edge of the box in which text is actually displayed. Permissible values are in, pt, pi, px, cm, or mm meaning inches, points, picas, pixels, centimeters, or millimeters.
In HTML tables, setting this attribute (px is the only supported unit) will set all four margin attributes for all the cells in the table. You can achieve the same effect by setting the CELLPADDING set table attribute.
LEFTMARGIN
This attribute has a unitdim value indicating the amount of white space to be left between a cell's left rule and the edge of the box in which text is actually displayed. Permissible values are in, pt, pi, px, cm, or mm meaning inches, points, picas, pixels, centimeters, or millimeters.
In HTML tables, setting this attribute (px is the only supported unit) will set all four margin attributes for all the cells in the table. You can achieve the same effect by setting the CELLPADDING set table attribute.
RIGHTMARGIN
This attribute has a unitdim value indicating the amount of white space to be left between a cell's right rule and the edge of the box in which text is actually displayed. Permissible values are in, pt, pi, px, cm, or mm meaning inches, points, picas, pixels, centimeters, or millimeters.
In HTML tables, setting this attribute (px is the only supported unit) will set all four margin attributes for all the cells in the table. You can achieve the same effect by setting the CELLPADDING set table attribute.
TOPMARGIN
This attribute has a unitdim value indicating the amount of white space to be left between a cell's top rule and the edge of the box in which text is actually displayed. Permissible values are in, pt, pi, px, cm, or mm meaning inches, points, picas, pixels, centimeters, or millimeters.
In HTML tables, setting this attribute (px is the only supported unit) will set all four margin attributes for all the cells in the table. You can achieve the same effect by setting the CELLPADDING set table attribute.
HALIGN
This attribute controls horizontal text justification for the cell. Permissible values are left, center, right, justified, or character.
The following values are also valid, but cannot be used to control the horizontal text justification for the cell: start, end, or inherit.
Character alignment is not effective in HTML outputs. Browsers are not required to support it, and they do not.
HALIGN_CHAR
This attribute is a single character on which to horizontally align the text in a column of cells. This character alignment scheme is used only if the HALIGN attribute is set to character.
HALIGN_CHAR_OFF
This attribute is a number between zero (0) and 100 indicating the desired location of the alignment character given by the HALIGN_CHAR attribute. Zero (0) places the character to the extreme left side of the cell, 100 places the character to the extreme right of the cell. This offset is used only if the HALIGN attribute is set to character.
HEADER
This attribute applies only to HTML tables. This attribute is 0 if the cell is a data cell (td) and is 1 if the cell is a header cell (th).
RULECOLOR_ABOVE
This is a convenience attribute to allow the COLOR attribute of the rule at the top of the cell to be manipulated. Refer to the explanation of the COLOR attribute in the Rule table attributes help topic.
RULECOLOR_BELOW
This is a convenience attribute to allow the COLOR attribute of the rule at the bottom of the cell to be manipulated. Refer to the explanation of the COLOR attribute in the Rule table attributes help topic.
RULECOLOR_LEFT
This is a convenience attribute to allow the COLOR attribute of the rule on the left side of the cell to be manipulated. Refer to the explanation of the COLOR attribute in the Rule table attributes help topic.
RULECOLOR_RIGHT
This is a convenience attribute to allow the COLOR attribute of the rule on the right side of the cell to be manipulated. Refer to the explanation of the COLOR attribute in the Rule table attributes help topic.
RULESTYLE_ABOVE
This is a convenience attribute to allow the STYLE attribute of the rule at the top of the cell to be manipulated. Refer to the explanation of the STYLE attribute in the Rule table attributes help topic.
RULESTYLE_BELOW
This is a convenience attribute to allow the STYLE attribute of the rule at the bottom of the cell to be manipulated. Refer to the explanation of the STYLE attribute in the Rule table attributes help topic.
RULESTYLE_LEFT
This is a convenience attribute to allow the STYLE attribute of the rule on the left side of the cell to be manipulated. Refer to the explanation of the STYLE attribute in the Rule table attributes help topic.
RULESTYLE_RIGHT
This is a convenience attribute to allow the STYLE attribute of the rule on the right side of the cell to be manipulated. Refer to the explanation of the STYLE attribute in the Rule table attributes help topic.
RULEWIDTH_ABOVE
This is a convenience attribute to allow the RULEWIDTH attribute of the rule at the top of the cell to be manipulated. Refer to the explanation of the RULEWIDTH attribute in the Rule table attributes help topic.
RULEWIDTH_BELOW
This is a convenience attribute to allow the RULEWIDTH attribute of the rule at the bottom of the cell to be manipulated. Refer to the explanation of the RULEWIDTH attribute in the Rule table attributes help topic.
RULEWIDTH_LEFT
This is a convenience attribute to allow the RULEWIDTH attribute of the rule on the left side of the cell to be manipulated. Refer to the explanation of the RULEWIDTH attribute in the Rule table attributes help topic.
RULECOLOR_RIGHT
This is a convenience attribute to allow the RULEWIDTH attribute of the rule on the right side of the cell to be manipulated. Refer to the explanation of the RULEWIDTH attribute in the Rule table attributes help topic.
VALIGN
This attribute is either top, center, or bottom to indicate vertical alignment of the contents of the cell.
Related Topics
Table object attributes overview
Shared table attributes
Set table attributes
Grid table attributes
Column table attributes
Row table attributes
Rule table attributes