CSS3 word-wrap property
Browser Support
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
word-wrap | 4.0 | 5.5 | 3.5 | 3.1 | 10.5 |
Attribute definitions and instructions
word-wrap property allows long content can wrap.
Defaults: | normal |
---|---|
inherit: | yes |
version: | CSS3 |
JavaScript syntax: | object .style.wordWrap = "break-word" |
grammar
word-wrap: normal|break-word;
value | description |
---|---|
normal | Only allowed hyphenation points wrap (to keep the default browser process). |
break-word | In the long words or URL address of the internal newline. |
related articles
CSS3 tutorial: CSS3 the Text Effects