Language References
Specifies line-breaking behavior within words, particularly where multiple languages appear in the object.
CSS |
{ word-break : 'normal' | 'break-all' | 'keep-all' } |
Script |
object.style.wordBreak [ = sBreak ] |
normal |
Allows line breaking within words according to the rules of the language for Asian and nonAsian text. |
break-all |
Behaves the same as normal for Asian text, yet allows the line to break arbitrarily for nonAsian text. This value is suited text comprised primarily of Asian text, with some excerpts of nonAsian text. |
keep-all |
Does not allow word breaking for Chinese, Japanese, and Korean. Functions the same way as normal for all nonAsian languages. This value is optimized for text that includes small amounts of Chinese, Japanese, or Korean. |
The property is read/write with a default value of normal; the proposed cascading stylesheet ( CSS ) extension attribute is inherited.
lineBreak