-ms-hyphenate-limit-chars property
Specifies one to three values that indicates 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.
This property is read/write.
Syntax
-ms-hyphenate-limit-chars: auto | <integer> {1,3}
Property values
One to three of the following values.
auto
Corresponds to a value of5 2 2
, indicating a 5-character word limit, 2 characters required before a hyphenation break, and 2 characters required following a hyphenation break.integer
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.
CSS information
Applies To | All elements |
Media | visual |
Inherited | true |
Initial Value | auto |
Standards information
- CSS Text Level 3, Section 5.4