Style.Text_alignSourceCSS text-align property for block layout.
Implements legacy HTML alignment behavior for block-level elements, corresponding to vendor-prefixed text-align values in browsers.
Text alignment affects the horizontal positioning of in-flow block children within their container. It does not affect absolutely positioned elements or non-block layouts.
type t = | AutoNo special text alignment behavior. Block children remain left-aligned.
*)| Legacy_leftCorresponds to -webkit-left or -moz-left in browsers. Equivalent to left alignment.
| Legacy_rightCorresponds to -webkit-right or -moz-right in browsers. Right-aligns block children.
| Legacy_centerCorresponds to -webkit-center or -moz-center in browsers. Centers block children horizontally.
to_string align is the CSS string representation of align: "auto", "legacy-left", "legacy-right", or "legacy-center".
compare a b is a total order on alignment values, compatible with equal.
pp ppf align formats align on ppf using to_string.