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

From Serious Documentation
Jump to: navigation, search
m (Admin moved page SHIP:Property:box:valign to SHIP:Property:boxmodel:valign without leaving a redirect)
(Node: {{Node|box}})
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|box|valign}}||{{DataType|VAlign}}|| Sets the vertical alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|valign}}||{{DataType|VAlign}}|| Sets the vertical alignment of a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
 
|}
 
|}
The vertical alignment (valign) property of the {{Node|box}} positions a {{Node|box}} 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.
  
 
Allowed values of '''valign''' are:
 
Allowed values of '''valign''' are:
* unset - allowing the {{Prop|box|ot}}/{{Prop|box|oh}}/{{Prop|box|ob}} properties to govern the vertical positioning of the {{Node|box}}.
+
* unset - allowing the {{Prop|boxmodel|ot}}/{{Prop|boxmodel|oh}}/{{Prop|boxmodel|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 07:55, 21 January 2013

Node: 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