line-break Attribute | lineBreak Property
line-break Attribute | lineBreak Property

Sets or retrieves line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean.

Syntax

HTML { line-break : sBreak }
Scripting[ sBreak = ] object.style.lineBreak

Possible Values

sBreakString 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 not supported in IE8 mode. For more information, see About Dynamic Properties.

Remarks

This property is deprecated. It is replaced by the -ms-word-break property in Windows Internet Explorer 7 and later. The line-break property was dropped from Cascading Style Sheets (CSS), Level 3 (CSS3) in March 2007, as per CSS Text Level 3: W3C Working Draft (6 March 2007), sec. 10, "Changes from the May 2003 CSS3 Text CR" World Wide Web link.

Line breaking is standardized in Unicode Standard Annex #14: Line Breaking Properties World Wide Web link.

Standards Information

This property is defined in CSS 3 World Wide Web link.

Applies To

ADDRESS, BLOCKQUOTE, BODY, CENTER, 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
Community Content

CSS Standards Information
Added by:John Sudds
The line-break property was dropped from the CSS3 Recommendation in March 2007.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View