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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 10: Line 10:
  
 
Allowed values of '''valign''' are:
 
Allowed values of '''valign''' are:
* unset - allowing the {{Prop|box|ot}}/{{Prop|box|ow}}/{{Prop|box|ob}} properties to govern the vertical positioning of the {{Node|box}}.
+
* unset - allowing the {{Prop|box|ot}}/{{Prop|box|oh}}/{{Prop|box|ob}} properties to govern the vertical positioning of the {{Node|box}}.
 
* '''TOP''' - to align the {{Node|box}} to the top of the parent's inner area
 
* '''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
 
* '''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
 
* '''BOTTOM''' - to align the {{Node|box}} to the bottom of the parent's inner area

Revision as of 19:41, 15 January 2013

Node: box

Property Data Type Description
valign VAlign Sets the vertical alignment a box within its parent container's inner dimensions.

The vertical alignment (valign) property of the box positions a box 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