# Tables

## Parameters

`db2html.table.rule_color`

- The color used for alternating-color rules on table rows

## Templates

`db2html.table.css`

- Create CSS for the table elements

`db2html.entry.colnum`

- Calculate the column number for an entry element

`db2html.colspec.colnum`

- Calculate the column number for a colspec element

`db2html.entry.colspan`

- Calculate the colspan for an entry element

`db2html.entry.style`

- Generate the style attribute for an entry element

`db2html.spanstr.pop`

- Calculate the remaining spans after an entry element

db2html.table.rule_color

The color used for alternating-color rules on table rows

### Description

This parameter has no description

db2html.table.css

Create CSS for the table elements

### Parameters

This template has no parameters.

db2html.entry.colnum

Calculate the column number for an `entry` element

### Parameters

`colspecs`

- The `colspec` elements in scope

`spanspecs`

- The `spanspec` elements in scope

`entry`

- The `entry` element to process

`col`

- The default column number as passed by the preceding sibling

db2html.colspec.colnum

Calculate the column number for a `colspec` element

### Parameters

`colspecs`

- The `colspec` elements in scope

`spanspecs`

- The `spanspec` elements in scope

`colspec`

- The `colspec` element to process

db2html.entry.colspan

Calculate the `colspan` for an `entry` element

### Parameters

`colspecs`

- The `colspec` elements in scope

`spanspecs`

- The `spanspec` elements in scope

`entry`

- The `entry` element to process

db2html.entry.style

Generate the `style` attribute for an `entry` element

### Parameters

`colspecs`

- The `colspec` elements in scope

`spanspecs`

- The `spanspec` elements in scope

db2html.spanstr.pop

Calculate the remaining spans after an `entry` element

### Parameters

`colspecs`

- The `colspec` elements in scope

`spanspecs`

- The `spanspec` elements in scope

`colspan`

- The number of columns to pop

`spans`

- The string representation of the column spans