Blog

Cross Browser word-break

shutterstock_234378844
BLOG / Web Development

Cross Browser word-break

Word-break is the property to prevent or allow words to be broken over multiple lines between letters.

Browser Support

This feature is already supported by a few major browsers including Chrome, Firefox, Internet Explorer 11, Microsoft Edge and Opera.

Code Example

You can use word-break like this:

#test {
  word-break:break-all;
}

More Information

More information can be found here.