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

From Serious Documentation
Jump to: navigation, search
(Created page with "=== Node: {{Node|box}} === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" | Description |- |<onlyinc...")
 
(Node: {{Node|box}})
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|box|mt}}||{{DataType|Dimension}}|| Sets the top margin width of the {{Node|box}}. </onlyinclude>
+
|<onlyinclude>{{Prop|box|mt}}||{{DataType|Dimension}}|| Sets the top margin thickness of the {{Node|box}}. </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|box|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 18:56, 15 January 2013

Node: box

Property Data Type Description
mt Dimension Sets the top margin thickness of the box.

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.