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

From Serious Documentation
Jump to: navigation, search
(Nodes: Box Model Nodes)
(Nodes: Box Model Nodes)
Line 10: Line 10:
  
 
Allowed values of '''valign''' are:
 
Allowed values of '''valign''' are:
* unset - allowing the {{Prop|boxmodel|ot}}/{{Prop|boxmodel|oh}}/{{Prop|boxmodel|ob}} properties to govern the vertical positioning of the {{Node|box}}.
+
{{:SHIP:Data_Types:VALIGN}}
* '''TOP''' - to align the {{Node|box}} to the top of the parent's inner area
 
* '''CENTER''' - to center the {{Node|box}} vertically within the parent's inner area
 
* '''BOTTOM''' - to align the {{Node|box}} to the bottom of the parent's inner area
 

Revision as of 17:31, 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: VALIGN||Vertical alignment of a box model or text model node within its parent.