word-break

Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!

Summary

The word-break CSS property is used to specify how (or if) to break lines within words.

Syntax

Formal syntax: normal | break-all | keep-all
word-break: normal 
word-break: break-all 
word-break: keep-all

word-break: inherit

Value

normal
Use the default line break rule.
break-all
Word breaks may be inserted between any character for non-CJK (Chinese/Japanese/Korean) text.
keep-all
Don't allow word breaks for CJK text.  Non-CJK text behavior is same as normal.

Examples

FIXME:

Specifications

Specification Status Comment
CSS Text Level 3 Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 15.0 (15.0) 5.5 Not supported (Yes)
keep-all Unimplemented (see WebKit bug 43917) 15.0 (15.0) 5.5 Not supported Unimplemented (see WebKit bug 43917)
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) 18.0 15.0 (15.0) ? Not supported ?
keep-all Unimplemented (see WebKit bug 43917) Unimplemented (see WebKit bug 43917) 15.0 (15.0) ? Not supported Unimplemented (see WebKit bug 43917)
  • IE8 introduced -ms-word-break as a synonym for word-break. Don't use the -ms- prefix.

See also

Schlagwörter des Dokuments und Mitwirkende

Zuletzt aktualisiert von: kscarfone,
Seitenleiste ausblenden