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

From Serious Documentation
Jump to: navigation, search
(Nodes: {{Node|box}} ({{Node|layoutarea|Layout Area}} Only))
(Nodes: {{Node|boxmodel|Box Model Nodes}})
Line 1: Line 1:
=== Nodes: {{Node|boxmodel|Box Model Nodes}} ===
+
=== Nodes: [[SHIP:Node:BoxModel|Box Model Nodes]] ===
 
{| 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:57, 21 January 2013

Nodes: Box Model Nodes

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