B.127. word-break

This nonstandard property, supported by Internet Explorer for Windows version 5 or later, lets you specify different word wrapping behavior for Chinese/Japanese/Korean (CJK) scripts than for other writing systems.

Inherited: Yes

B.127.1. Value

This property will accept any one of the following constant values:

  • break-all: allows both CJK and non-CJK words to be broken by word wrapping at any point; ideal for CJK text containing non-CJK fragments

  • keep-all: prevents both CJK and non-CJK words from being broken by word wrapping; ideal for non-CJK text containing CJK fragments

  • normal: allows CJK words to be broken by word wrapping at any point, but prevents non-CJK words from being broken in the same way

Initial value: normal

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.