CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: "overflow-wrap" CSS property

The "overflow-wrap" CSS Property

This property (which applies to inline elements) sets whether line breaks should be inserted within an otherwise unbreakable string to prevent text from overflowing its line box.

Values for "overflow-wrap"
CSS LevelValue
CSS Text Level 3"normal | break-word | anywhere"

Notes

  • This property only has an effect when 'white-space' allows wrapping.
  • 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