Margin-Bottom Attribute | Internet Development Index |
Specifies the bottom edge of the shape's containing rectangle relative to the shape anchor. Read/write String.
Applies To
Tag Syntax
<v:element margin-bottom="expression">
Script Syntax
element.marginbottom="expression"
expression=element.marginbottom
Remarks
The Margin-Bottom attribute is similar to the standard HTML Margin-Bottom attribute used with style sheets.
Note that marginbottom is used instead of margin-bottom for scripting. Also note that if the position is absolute, the margin will not appear to change.
Values include:
| Value | Description |
| Auto | Default position of an element in the flow of the page. |
| units | Default. A number with an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). If no units are given, pixels (px) is assumed. The default value is 0. |
| percentage | Value expressed as a percentage of the parent object's height. |
VML Standard Attribute
See Also
Example
The bottom margin is set to 25 pixels.
<v:rect id=myrect fillcolor="red" style="position:relative;top:1;left:1;width:20;height:20;margin-bottom:25px"> </v:rect>
Margin-Bottom Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
景宁| 孝感市| 纳雍县| 闻喜县| 神池县| 东乌珠穆沁旗| 石阡县| 高阳县| 库车县| 阿图什市| 林周县| 柳江县| 杭州市| 涞源县| 米易县| 双柏县| 台北市| 个旧市| 嵊泗县| 育儿| 安国市| 山阴县| 利津县| 永城市| 于都县| 绥芬河市| 牟定县| 葵青区| 胶南市| 石林| 淮滨县| 威远县| 安远县| 鄂托克旗| 抚顺县| 松潘县| 临邑县| 威海市| 远安县| 中山市| 铁岭县|