Difference between revisions of "SHIP:Property:boxmodel:valign"

From Serious Documentation
Jump to: navigation, search
(Nodes: Box Model Nodes)
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|boxmodel|valign}}||{{DataType|VAlign}}|| Vertical alignment of a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|valign}}||{{DataType|VALIGN}}|| Vertical alignment of a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
 
|}
 
|}
 
The vertical alignment (valign) property positions a node within its parent to to the top, center, or bottom of the inner area of the parent.
 
The vertical alignment (valign) property positions a node within its parent to to the top, center, or bottom of the inner area of the parent.

Revision as of 17:22, 29 January 2013

Nodes: Box Model Nodes

Property Data Type Description
valign VALIGN Vertical alignment of a box within its parent container's inner dimensions.

The vertical alignment (valign) property positions a node within its parent to to the top, center, or bottom of the inner area of the parent.

Allowed values of valign are:

  • unset - allowing the ot/oh/ob properties to govern the vertical positioning of the box.
  • TOP - to align the box to the top of the parent's inner area
  • CENTER - to center the box vertically within the parent's inner area
  • BOTTOM - to align the box to the bottom of the parent's inner area