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

From Serious Documentation
Jump to: navigation, search
(Node: Box Model Nodes)
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|boxmodel|halign}}||{{DataType|HAlign}}|| Horizontal alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|halign}}||{{DataType|HALIGN}}|| Horizontal alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
 
|}
 
|}
 
The horizontal alignment (halign) property of the {{Node|box}} positions a {{Node|box}} within its parent to to the left edge, center, or right edge within the inner area of the parent.
 
The horizontal alignment (halign) property of the {{Node|box}} positions a {{Node|box}} within its parent to to the left edge, center, or right edge within the inner area of the parent.

Revision as of 17:23, 29 January 2013

Node: Box Model Nodes

Property Data Type Description
halign HALIGN Horizontal alignment a box within its parent container's inner dimensions.

The horizontal alignment (halign) property of the box positions a box within its parent to to the left edge, center, or right edge within the inner area of the parent.

Allowed values of halign are:

  • unset - allowing the ol/ow/or properties to govern the vertical positioning of the box.
  • LEFT - to align the box to the left edge of the parent's inner area
  • CENTER - to center the box vertically within the parent's inner area
  • RIGHT - to align the box to the right edge of the parent's inner area