The "overflow-wrap" CSS Property

Related:

Additional links:

New in CSS3

This property sets whether the browser may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within its containing line box.

Values for "overflow-wrap"
CSS LevelValue
CSS 2.1(invalid)
CSS3"normal" or "break-word"

Notes

  • This property only has an effect when 'text-wrap' is either 'normal' or 'avoid'.
  • This property was originally a Microsoft proprietary property (implemented by most browsers) named "word-wrap", but has been renamed to "overflow-wrap". For maximum compatibility (especially with IE and Edge) use "word-wrap" (which is now considered an alternate name for "overflow-wrap") instead of, or in addition to, "overflow-wrap".

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem