text-alignment
The horizontal alignment of a paragraph’s text. Overrides the alignment setting of the cell’s column when using other values than auto
.
Availability
Available in: Paragraph, Headers and Footers, Footnotes Area, Figures, Figure Captions, Divider, Block, List, Table, Table Cell, Table of Contents, Table of Contents Item
Type
Available values
Value | Description |
---|---|
left |
Text is aligned left. |
center |
Text is centered. |
right |
Text is aligned right. |
justified |
Use justified text alignment. |
auto |
Locale-specific alignment. Table cells use their column’s alignment. |
Default value
auto
Inherited
Yes.
Example
paragraph {
text-alignment: justified
}
heading-all {
text-alignment: left
}