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

From Serious Documentation
Jump to: navigation, search
(Node: All Box Model Nodes)
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|boxmodel|mt}}||{{DataType|Dimension}}|| Top margin thickness of a [[SHIP:BoxModel|box model node]]. </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|boxmodel|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.

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.