textAlign

abstract var textAlign: TextAlign?(source)

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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