XML technologies / XSL-FO / Reference / Antenna House Formatter XSL Extensions / Properties / text-align-first

(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Spacing and Alignment >> Text Alignment

axf:text-align-first specifies the text alignment of the first line.

Value:

relative | start | center | end | justify | inside | outside | left | right

Initial value:

relative

Applies to:

fo:block

Inherited:

yes

Percentages:

N/A

Values have the following meanings.

relative

Does nothing. axf:text-align-first is invalid.

start

Same as text-align or text-align-last.

center

Same as text-align or text-align-last.

end

Same as text-align or text-align-last.

justify

Same as text-align or text-align-last.

inside

Same as text-align or text-align-last.

outside

Same as text-align or text-align-last.

left

Same as text-align or text-align-last.

right

Same as text-align or text-align-last.

Specifies the alignment of the child of the first line area and the alignment of the line coming right after the line with U+000A at the end. Priority is given above text-align-last.

Refer to axf:leader-expansion.

back to top