HTML and CSS Reference
In-Depth Information
Name
word-wrap
Values:
normal | break-word
Initial value:
normal
Applies to:
All elements
Inherited:
Yes
Computed value:
Same as declared value
Description:
Defines how text should be wrapped in situations where it would not ordinarily be wrapped;
for example, a very long string of numbers containing no spaces, such as the first thousand
digits of pi. The value break-word permits user agents to break a word at arbitrary points if it
cannot find regular breakpoints within the “word” (text string).
Examples:
td {word-wrap: break-word;}
p {word-wrap: normal;}
Search WWH ::




Custom Search