textAlign

abstract var textAlign: TextAlign?(source)

The text-align CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like vertical-align but in the horizontal direction.

Syntax: start | end | left | right | center | justify | match-parent

Initial value: start, or a nameless value that acts as left if direction is ltr, right if direction is rtl if start is not supported by the browser.

| Chrome | Firefox | Safari |  Edge  |  IE   |
| :----: | :-----: | :----: | :----: | :---: |
|   1    |    1    |   1    |   12   |   3   |

See also