MSO-Wrap-Distance-Top Attribute

HTML (DHTML)

MSO-Wrap-Distance-Top Attribute

Internet Development Index

Defines the distance from the shape top to the text that wraps around it. Read/write String.

Applies To

Shape

Tag Syntax

<v:element style="mso-wrap-distance-top: expression">

Remarks

Note that this attribute is different from the CSS Margin attribute. Margin changes the origin of the shape to include the margin areas, but the wrap-distance in Microsoft Office does not change the origin of the shape.

Microsoft Office Extensions Attribute

Example

The shape has a top wrap-distance of 10 points.

   <v:shape id="rect01"
   fillcolor="red" strokecolor="red"
   coordorigin="-500 -500" coordsize="1000 1000"
   style="position:relative;top:0;left:0;width:100pt;height:100pt;mso-wrap-distance-top:10pt"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   </v:shape>