{word-break} Word Wrap Property | CSS: Presentation Layer

Standards Based Development

word-break specifies how or if to break lines within words. whether or not the user agent may break lines within words in order to prevent overflow when an otherwise unbreakable string is too long to fit in its containing box.

word-break:normal

word-break:normal uses the default line break rule.

word-break:break-all

word-break:break-all permits word breaks to be inserted between any character for non-cjk text.

word-break:keep-all

word-break:keep-all does not permit word breaks for cjk text; non-cjk text behavior is the same as setting word-break:normal.

-ms-word-break

ie8 introduced -ms-word-break as a synonym for word-break.

References and Resources