line-break Attribute | lineBreak Property
Gets or sets line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean.
Syntax
CSS { line-break : sBreak } Scripting [ sBreak = ] object.style.lineBreak
Possible Values
sBreak String that specifies or receives one of the following values.
- normal
- Default. Normal line-breaking mode is applied.
strict- Stricter line-breaking rules are enforced.
The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of normal. The Cascading Style Sheets (CSS) attribute is inherited.
DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are supported in IE7 Standards mode and IE5 (Quirks) mode only. For more information, see About Dynamic Properties and Defining Document Compatibility.
Remarks
This property is deprecated. It is replaced by the -ms-word-break property in Windows Internet Explorer 7 and later.
Standards Information
This property is defined in Unicode Standard Annex #14: Line Breaking Properties and is defined in Cascading Style Sheets (CSS), Level 3 (CSS3).
Applies To
ADDRESS, BLOCKQUOTE, BODY, CENTER, CSSStyleDeclaration, currentStyle, DD, DIR, DIV, DL, DT, FIELDSET, FORM, hn, HR, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, style, TABLE, TD, TH, TR, UL, XMP
See Also
wordBreak