www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 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.
normalDefault. Normal line-breaking mode is applied.
strictStricter 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.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The behaviors of the parameters are described in detail in the applicable standards that are noted below.

This property is deprecated. It is replaced by the wordBreak property. The line-break property was dropped from CSS3 in March 2007, per CSS Text Level 3 W3C Working Draft 6 March 2007 World Wide Web link at section 10 "Changes from the May 2003 CSS3 Text CR."

Standards Information

This property is defined in Cascading Style Sheets (CSS), Level 3 (CSS3) 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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG