This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

hyphenate-limit-zone

Summary

Specifies the maximum amount of trailing whitespace (before justification) that may be left in a line before hyphenation is triggered to pull part of a word from the next line back up into the current one.

Overview table

Initial value
0
Applies to
block containers
Inherited
Yes
Media
visual
Computed value
specified value
Animatable
No
CSS Object Model Property
hyphenateLimitZone
Percentages
refer to width of the line box

Syntax

  • hyphenate-limit-zone: length
  • hyphenate-limit-zone: percentage

Values

percentage
Specifies the width of the hyphenation zone, relative to the total line length. Negative values are not allowed.
length
Indicates the width of the hyphenation zone. Lengths set in font-relative units (em, ex, ch) tend to be more useful here. Negative values are not allowed.

Examples

/* Only hyphenate if the line would otherwise be <= 90% its maximum possible width */
hyphenate-limit-zone: 10%;

Related specifications

CSS Text Level 4
W3C Editor’s Draft

See also

Related articles

Text