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.
-ms-hyphenate-limit-chars CSS property is a Microsoft extension that specifies one to three values indicating the minimum number of characters in a hyphenated word. If the word does not meet the required minimum number of characters in the word, before the hyphen, or after the hyphen, then the word is not hyphenated.
|Applies to||all elements|
|Computed value||as specified|
|Canonical order||the unique non-ambiguous order defined by the formal grammar|
Corresponds to a value of 5 2 2, indicating a 5-character word limit, 2 characters required before a hyphenation break, and 2 characters required following a hyphenation break.
One to three integer values, corresponding to the word limit, the minimum number of characters required before a hyphenation break, and the minimum number of characters required following a hyphenation break, respectively.
If the third value is missing it is equal to the second.
If the second and third values are missing they are given a value of auto.
Negative values are not allowed.
Not part of any specification.