Obj Table Column
[ XSL-FO Reference Manual](#)
* * *
## Definition and Usage
The object is used to define the characteristics of table cells located in the same column.
The most important attribute in this object is "column-width".
* * *
## Syntax
## Attributes
**Note:** The border attribute is 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:
Car
Price
Volvo
$50000
SAAB
$48000
The output of the above code is as follows:
| Car | Price |
| --- | --- |
| Volvo | $50000 |
| SAAB | $48000 |
* * XSL-FO Reference Manual](#)
YouTip