CSS Word-Wrap Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
The word-wrap CSS property is used to to specify whether or not the browser is allowed to break lines within words in order to prevent overflow when an otherwise unbreakable string is too long to fit.
Syntax
word-wrap: [value];
Possible values
- normal
- break-word
- inherit
Initial Value
Normal
Applies To
All elements
Inherited
Yes
Media
Visual
Example
div {
word-wrap: break-word;
}
Loading Twitter