VML MSO-Wrap-Mode Attribute

This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.

Note  As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.

Defines the wrapping mode for text. Read/write. String.

Applies To


Tag Syntax

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


Values include:

Value Description
square Wraps text around shape in a square.
tight Text is wrapped close to the shape.
top-and-bottom Text jumps from top to bottom.
through Text displays through the shape.
none Text doesn't wrap.


Used by Microsoft PowerPoint for saving to HTML to indicate whether word wrap inside an AutoShape is on (square) or off (none).

Microsoft Office Extensions Attribute


The following code indicates that wordwrap inside an AutoShape is turned on in PowerPoint.

   <v:shape id="rect01"
   fillcolor="red" strokecolor="red"
   coordorigin="-500 -500" coordsize="1000 1000"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">



Send comments about this topic to Microsoft

Build date: 2/7/2012

Community Additions