# Elementname: `Tablerule`

CSS name: tablerule

## Description

Insert a horizontal rule in a table

Allowed attributes: class, color, id, rulewidth, start

Child elements: (none)

Parent elements: Case, ForAll, Loop, Otherwise, SetVariable, Table, Tablefoot, Tablehead, Until, While

### Attributes

class (text, optional)

  CSS class for this element.

color (text, optional, CSS property: background-color)

  The color of the rule. Defaults to black.

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.

## 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

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- SetGrid
- SetVariable
- SortSequence
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 3.2.0 | Start page | Command reference | Other language: German