This is an archived page. It's not actively maintained.


This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-wrap-margin CSS property is a Microsoft extension that specifies a margin that offsets the inner wrap shape from other shapes.

Initial value0
Applies toexclusion elements
Computed valueas specified
Animation typediscrete




The margin size, a non-negative value.

Formal syntax



Not part of any specification.


Offsets created by the -ms-wrap-margin property are offset from the outside of the exclusion. This property can be set to any supported length value.