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

From Serious Documentation
Jump to: navigation, search
m (Admin moved page SHIP:Property:box:halign to SHIP:Property:boxmodel:halign without leaving a redirect)
(Node: {{Node|box}})
Line 1: Line 1:
=== Node: {{Node|box}} ===
+
=== Node: [[SHIP: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
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|box|halign}}||{{DataType|HAlign}}|| Sets the horizontal alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|halign}}||{{DataType|HAlign}}|| Sets the 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.
  
 
Allowed values of '''halign''' are:
 
Allowed values of '''halign''' are:
* unset - allowing the {{Prop|box|ol}}/{{Prop|box|ow}}/{{Prop|box|or}} properties to govern the vertical positioning of the {{Node|box}}.
+
* unset - allowing the {{Prop|boxmodel|ol}}/{{Prop|boxmodel|ow}}/{{Prop|boxmodel|or}} properties to govern the vertical positioning of the {{Node|box}}.
 
* '''LEFT''' - to align the {{Node|box}} to the left edge of the parent's inner area
 
* '''LEFT''' - to align the {{Node|box}} to the left edge 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
 
* '''RIGHT''' - to align the {{Node|box}} to the right edge of the parent's inner area
 
* '''RIGHT''' - to align the {{Node|box}} to the right edge of the parent's inner area

Revision as of 08:15, 21 January 2013

Node: Box Model Nodes

Property Data Type Description
halign HAlign Sets the 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