You’re reading the English version of this content since no translation exists yet for this locale. Help us translate this article!

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
Canonical orderthe unique non-ambiguous order defined by the formal grammar




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.