Version 5.9.37

Tablerule

Insert a horizontal rule in a table

Child elements

(none)

Parent elements

Case, ForAll, Function, Loop, Otherwise, SetVariable, Table, Tablefoot, Tablehead, Until, While

Attributes

break-below (yes or no, optional, since version 3.5.2)
Allow break below the table rule?
class (text, optional)
CSS class for this element.
color (text, optional, CSS property: background-color)
The color of the rule. Defaults to black. A color named “-” (without quotes) is a transparent “color”.
id (text, optional)
CSS id for this element.
rulewidth (length, optional, CSS property: height)
The width (thickness) of the rule. Defaults to 0.25pt.
start (number, optional, CSS property: rule-start)
The first column of the rule. Defaults to 1.
style (text, optional, since version 5.9.37)
CSS declarations for this element, as in the HTML attribute style, for example border: 1pt solid red; padding: 2pt. They take precedence over the CSS rules, but not over the attributes, unless they are marked !important. An empty value is ignored.

CSS

In CSS selectors, this command is called tablerule. Attributes marked “CSS property” can also be set with CSS; the attribute on the command takes precedence unless the CSS declaration is marked !important. The section CSS for layout commands describes further properties, precedence and inheritance.

Example

<Tablerule rulewidth="1pt"/>
<Tr>
  <Td align="center">Position</Td>
  <Td align="center">Club</Td>
  <Td align="center">Points</Td>
  <Td align="center">Difference</Td>
</Tr>
<Tablerule rulewidth="0.6pt"/>

See also

Table, Tables