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

From Serious Documentation
Jump to: navigation, search
m (Admin moved page SHIP:Property:box:mt to SHIP:Property:boxmodel:mt without leaving a redirect)
(Node: All Box Model Nodes)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Node: {{Node|box}} ===
+
=== Node: All [[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|mt}}||{{DataType|Dimension}}|| Sets the top margin thickness of the {{Node|box}}. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|mt}}||{{DataType|Dimension}}|| Top margin thickness of a {{Node|box}}; not present on lightweight [[SHIP:BoxModel|box model nodes]] such as {{Node|frame}} and {{Node|textframe}}.</onlyinclude>
 
|}
 
|}
The margin top (mt) property of the box set the top margin of the container.  The margin begins at the {{Prop|box|ot}} pixel and is exactly the mt number of pixels thick.   
+
The margin top (mt) property of the box set the top margin of the container.  The margin begins at the {{Prop|boxmodel|ot}} pixel and is exactly the mt number of pixels thick.   
  
 
Any attached {{Node|image}} within a box is centered within the margins, so increasing '''mt''' will shift that attached centered-image downwards.
 
Any attached {{Node|image}} within a box is centered within the margins, so increasing '''mt''' will shift that attached centered-image downwards.

Latest revision as of 17:33, 14 June 2015

Node: All Box Model Nodes

Property Data Type Description
mt Dimension Top margin thickness of a box; not present on lightweight box model nodes such as frame and textframe.

The margin top (mt) property of the box set the top margin of the container. The margin begins at the ot pixel and is exactly the mt number of pixels thick.

Any attached image within a box is centered within the margins, so increasing mt will shift that attached centered-image downwards.