Easy Tutorial
❮ Xslfo Tables Obj Multi Properties ❯

XSL-FO table-column Object


Definition and Usage

The <fo:table-column> object is used to define the characteristics of table cells that are in the same column.

The most important attribute of this object is "column-width".


Syntax

Attributes

Note: The border attributes are only allowed when the table's border-collapse value is "collapse" or "collapse-with-precedence".

Attribute
background-attachment
background-color
background-image
background-repeat
background-position-horizontal
background-position-vertical
border-after-color
border-after-precedence
border-after-style
border-after-width
border-before-color
border-before-precedence
border-before-style
border-before-width
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
border-end-color
border-end-precedence
border-end-style
border-end-width
border-left-color
border-left-style
border-left-width
border-right-color
border-right-style
border-right-width
border-separation
border-start-color
border-start-precedence
border-start-style
border-start-width
border-top-color
border-top-style
border-top-width
column-number
column-width
number-columns-repeated
number-columns-spanned
visibility

Example 1

A simple table:

The output of the above code is as follows:

Car Price
Volvo $50000
SAAB $48000

❮ Xslfo Tables Obj Multi Properties ❯