Article

tv-align

Aligns an element horizontally inside its parent.

Overview

Here's an example that centers an image inside of its containing element.

<img style="tv-align:center" src="" width="182" height="274" />

Values for tv-align

center

The element is aligned with the center of the parent element.

leading

The element is aligned along the leading edge of its parent element.

left

The element is aligned along the left edge of its parent element.

right

The element is aligned along the right edge of its parent element.

trailing

The element is aligned along the trailing edge of its parent element.

Elements that Use tv-align

See Also

Element Alignment

text-align

Aligns text horizontally in an element.

tv-content-align

Aligns an element vertically inside its parent element.

tv-position

Sets the position of an element inside of its parent element.