text-wrap
Important |
|---|
|
This documentation is preliminary and subject to change. |
Sets the mode of text wrapping.
Syntax
{ text-wrap:
sWrap
}
Possible values
sIdeograph
String that specifies one of the following values:
|
normal |
Lines may break in accordance with line-breaking rules. |
|
unrestricted |
Lines may break between any two characters or grapheme clusters. No hyphenation takes place and line-break restrictions are ignored. |
|
none |
Lines may not break. Text that is too large for the containing element overflows. |
|
suppress |
Line breaks are suppressed. Lines may break only if there are no other valid break points in the line. |
This property has a default value of normal. It is inherited.
Standards information
This property is defined in CSS Selectors Level 3
.
Applies to
a, address, b, big, blockquote, body, button, caption, center, cite, code, col, colgroup, custom, dd, defaults, dfn, div, dl, dt, em, fieldset, form, hn, html, i, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, li, ol, p, s, span, sub, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var, xmp
Important