SHIP:Data Types:VALIGN

From Serious Documentation
Jump to: navigation, search
Data Type Description
VALIGN Vertical alignment of a box model or text model node within its parent.

The vertical alignment (valign) property of any box model or text model node positions a container to the top, vertical center, or bottom of the inner area of the parent.

The VALIGN datatype is one of the following values:

  • unset - allowing inheritance from the parent or allowing the ot/oh/ob properties to govern the vertical positioning of the box or text
  • NONE - similar to unset but stops inheritance (unlike unset)
  • TOP - to align the box or text to the top of the parent's inner area
  • CENTER - to center the box or text vertically within the parent's inner area
  • BOTTOM - to align the box or text to the bottom of the parent's inner area