Skip to main content

BlockAlign

Description

Specifies vertical alignment of a block-level element (e.g., top, middle, bottom) within its container.

Owner

Layout

Inheritable

Yes

Default Value

Before

Values

Value Type:
name
  • BeforeBefore edge of the first child’s allocation rectangle aligned with that of the table cell’s content rectangle.
  • MiddleChildren centred within the table cell. The distance between the before edge of the first child’s allocation rectangle and that of the table cell’s content rectangle shall be the same as the distance between the after edge of the last child’s allocation rectangle and that of the table cell’s content rectangle.
  • AfterAfter edge of the last child’s allocation rectangle aligned with that of the table cell’s content rectangle.
  • JustifyChildren aligned with both the before and after edges of the table cell’s content rectangle. The first child shall be placed as described for Before and the last child as described for After, with equal spacing between the children. If there is only one child, it shall be aligned with the before edge only, as for Before.

Related Tags

TH