# Image Rendering Reference

## Navigation:

Index General Information Elements Utils Examples

# The <table> Element

## Description:

The table element indicates the beginning of a table followed by table rows and cells. By default the table takes the width from the field it is placed in. The height of the table depends on the height of the rows inside of them.

### Multiple Occurrences allowed: true

## Attributes

Name | Description | Inheritated | Possible Values | Default Value | Examples
--- | --- | --- | --- | --- | ---
class | A identifier of a CSS class. This identifier can be referenced via a CSS file. The same class identifier is meant to be used in multiple tags | false | String | No default value | css1
id | A identifier of the tag. This identifier can be referenced via a CSS file. This identifier has to be unique | false | String | No default value | css1
font-family | The name of the font to be used | true | A font name (e.g. Arial, Tahoma, Times New Roman, etc.) | arial | -
align | Specifies the horizontal alignment of the element/text | true | left | right | center | justify | left | -
padding-bottom | Specifies the padding in pixels from the bottom | true | A positive or negative integer value | 0 | -
padding-left | Specifies the padding in pixels from the left | true | A positive or negative integer value | 0 | -
padding-right | Specifies the padding in pixels from the right | true | A positive or negative integer value | 0 | -
padding-top | Specifies the padding in pixels from the top | true | A positive or negative integer value | 0 | -
background-color | The background color of the element | true | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | transparent | -
text-decoration | Specifies a decoration for the given text (underline, overline, linethrough or none) | true | underline | linethrough | none | none | span1
font-size | Specifies a set of font sizes separated by colon. The text will be rendered with the biggest possible (and specified) font size | true | A positive integer describing the font size in pt or multiple integers separated by a colon as alternative font seizes | 12 | -
font-style | Specifies whether the text should be printed normal or italic | true | normal | italic | normal | -
font-weight | Specifies whether the text should be printed normal or bold | true | normal | bold | normal | -
color | The color of the element or the contained text | true | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | black | -
condense | Automatically condenses text if it is too long using the best matching condense factor specified | true | One or more float numbers separated by a colon. | 1.0 | span1
line-spacing | Sets the spacing between text lines in pixel (negative values decrease the line spacing) | true | A positive or negative integer value | 0 | list1
wrap | Changes the line wrap of a text field. Normal: line wraps at spaces and dashes. None: no wrapped lines. | true | normal | none | normal | -
letter-spacing | The letter-spacing attribute increases or decreases the space between characters in a text. | true | A possitive or negative float number | 0.0 | multiline1
superscript | Used to superscript or subscript a text | true | superscript | subscript | normal | normal | span1
outline | Specifies whether the text should be outlined or not | true | true|false | false | -
outline-color | Specifies the color of the text's outline | true | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | black | -
outline-thickness | Specifies the thickness of the text's outline | true | An non-negative integer value (>0) | 1 | -
outline-inside | This value determines, whether the outline should be drawn to the inside or outside of the corresponding text | true | true|false | false | -
shadow | Enables or disables the shadow | true | true|false | false | -
shadow-alpha | The alpha value (transparency) of the shadow | true | A positive float number >= 0 and <= 1 | 0.5 | -
shadow-color | Sets the color of the shadow | true | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | black | -
shadow-size | The size of the shadow in pixels | true | An non-negative integer value (>0) | 2 | -
shadow-blur | Whether the shadow should be rendered with or without blur effect | true | true|false | false | -
class | A identifier of a CSS class. This identifier can be referenced via a CSS file. The same class identifier is meant to be used in multiple tags | false | String | No default value | css1
id | A identifier of the tag. This identifier can be referenced via a CSS file. This identifier has to be unique | false | String | No default value | css1
cellpadding | Defines the spacing around the text content of a table cell in pixel | true | A positive integer value (>=0) | 2 | -
valign | Specifies the vertical alignment of the element/text | true | top | center | bottom | top | -
width | The width of the element specified in pixels | true | A size value in pixel | No default value | -
height | The height of the element specified in pixels | true | A size value in pixel | No default value | -
max-height | Defines the maximum height of a field. This attribute is used in combination with a relative y-positioning. The height of the rendered field will be smaller or equal the specified maximum height value, depending on its content | false | An non-negative integer value (>0) | No default value | relative1, nestedFields1
table-border | Sets the border width of the whole table except the header row and/or column. The width of the header row/column is set through the attribute 'header-border'. A border of zero means no border | false | An non-negative integer value (>0) | 1 | table1
header-border | Sets the border width of header row and column. This attribute only takes effect if 'header-row' and or 'header-column' is enabled | false | An non-negative integer value (>0) | 2 | table1
header-column | The header column is the first column of a table. The border width of this column can be set with 'header-border', if enabled | false | true|false | false | table1
header-row | The header row is the first row of a table. The border width of this row can be set with 'header-border', if enabled | false | true|false | false | table1
border-color | Specifies the color of the used border | false | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | black | -
background-color | The background color of the element | true | black | white | transparent | semi-colon separated RGBA string with values between 0 and 255 | transparent | -

## Child Elements

row

## Examples

- Table Example