CSS3 word-wrap property
Description of property definition and use
Word-wrap properties allow long content to wrap automatically.
Default: | normal |
---|---|
Inherited: | yes |
Version: | CSS3 |
JavaScript syntax: | object .style.wordWrap="break-word" |
grammar
Value | Describe |
---|---|
normal | Line breaks only at the allowed word breaks (the browser remains the default). |
break-word | Line inside a long word or URL address. |
Browser support
The numbers in the table support the first browser version number of the property.
Attributes | |||||
---|---|---|---|---|---|
word-wrap | 4.0 | 5.5 | 3.5 | 3.1 | 10.5 |
Specify that if it is long enough, it should be retreded:
Try it out . . .
Related articles
CSS3 tutorial: CSS3 Text Effects