CSS Property 'word-break'
| Chrome | Firefox | IE | Opera | Safari |
|---|---|---|---|---|
| ✓ | 15 | 5 | 3 |
- CSS Level
- 3.0
- Module
- Text
- Restriction
- enum
- Example
- p.album { word-break: break-all; }
- Reference
- www.w3.org
- Description
- Specifies line break opportunities for non-CJK scripts.
| Name | Chrome | Firefox | IE | Opera | Safari |
|---|---|---|---|---|---|
| break-all | ✓ | 15 | 5 | 3 | |
| Lines may break between any two grapheme clusters for non-CJK scripts. This option is used mostly in a context where the text is predominantly using CJK characters with few non-CJK excerpts and it is desired that the text be better distributed on each line. | |||||
| keep-all | ✓ | 15 | 5 | 3 | |
| Block characters can no longer create implied break points. Otherwise this option is equivalent to 'normal'. This option is mostly used where the presence of word separator characters still creates line-breaking opportunities, as in Korean. | |||||
| normal | ✓ | 15 | 5 | 3 | |
| Breaks non-CJK scripts according to their own rules. | |||||
Help make Visual Studio better. Report CSS bugs here