word-wrap | NN n/a IE5.5(Win) CSS n/a |
Inherited: Yes | |
Specifies word-wrapping style for block-level, specifically-sized inline, or positioned elements. If a single word (i.e., without any whitespace) extends beyond the width of the element containing box, the normal behavior is to extend the content beyond the normal box width, without breaking. But with the value of break-word, you can force the long word to break at whatever character position occurs at the edge of the box. |
|
CSS Syntax | |
word-wrap: wrapStyle
|
|
Value | |
One of the constant values: break-word | normal. |
|
Initial Value | |
normal |
|
Applies To | |
Block-level, sized inline, and positioned elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.wordWrap
|