最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

word-wrap Attribute | wordWrap Property

Internet Development Index

Sets or retrieves whether to break words when the content exceeds the boundaries of its container.

Syntax

HTML { word-wrap : sWrap }
Scriptingobject.style.wordWrap [ = sWrap ]

Possible Values

sWrapString that specifies or receives one of the following values.
normalDefault. Content exceeds the boundaries of its container.
break-wordContent wraps to next line, and a word-break occurs when necessary.

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 Microsoft Cascading Style Sheets (CSS) extension 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

This property is read-only for the currentStyle object.

This property applies to elements that have layout. An element has layout when it is absolutely positioned, is a block element, or is an inline element with a specified height or width.

Example

The following example shows how to use the break-word value of the wordWrap property to break one long word into multiple words on multiple lines. This value avoids horizontal scrolling and can be useful for printing. The p element in this example has layout, because its width is set.

<P STYLE="word-wrap:break-word;width:100%;left:0">
LongWordLongWord...LongWordLongWord</P>
This feature requires Microsoft® Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is a Microsoft extension to Cascading Style Sheets (CSS) Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, APPLET, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CENTER, CITE, CODE, currentStyle, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, hn, HR, HTML, I, IMG, INPUT, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MENU, NOBR, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TEXTAREA, TD, TH, TT, U, UL, VAR, XMP

See Also

lineBreak, wordBreak, whiteSpace
木兰县| 新龙县| 磐石市| 玉环县| 师宗县| 淮南市| 西宁市| 洪洞县| 长阳| 竹溪县| 那坡县| 翁牛特旗| 利辛县| 宝兴县| 佛冈县| 隆昌县| 淮滨县| 望城县| 同心县| 富阳市| 昌邑市| 乐安县| 包头市| 永丰县| 义乌市| 安平县| 云阳县| 霞浦县| 长春市| 勐海县| 洞口县| 集安市| 夹江县| 高密市| 泾川县| 白水县| 江油市| 昔阳县| 博白县| 泰宁县| 同心县|