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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 1: Line 1:
=== Node: {{Node|box}} ===
+
=== Nodes: {{Node|box}} ===
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property

Revision as of 07:55, 21 January 2013

Nodes: box

Property Data Type Description
valign VAlign Sets the 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