Sets or retrieves line-breaking behavior within words, particularly where multiple languages appear in the object.
Syntax
HTML { word-break: sBreak } Scripting object.style.wordBreak [ = sBreak ]
Possible Values
sBreak String that specifies one of the following values:
normal Allows line breaking within words. break-all Behaves the same as normal for Asian text, yet allows the line to break arbitrarily for non-Asian text. This value is suited to Asian text that contains some excerpts of non-Asian text. keep-all Does not allow word breaking for Chinese, Japanese, and Korean. Functions the same way as normal for all non-Asian 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 style sheets (CSS) extension attribute is inherited.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Applies To
ADDRESS, BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, Hn, HR, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, TABLE, TD, TH, TR, UL, XMP
See Also