Blog

Cross Browser overflow-wrap

shutterstock_234378844
BLOG / Web Development

Cross Browser overflow-wrap

Overflow-wrap is the posibility to allow lines to be broken within words if an otherwise unbreakable string is too long to fit. Currently mostly supported using the `word-wrap` property.

Browser Support

This feature is already supported by a few major browsers including Chrome, Safari and Opera.

Code Example

You can use Overflow-wrap like this:

#test { 
  word-wrap: break-word; 
  overflow-wrap: break-word;
}

More Information

More information can be found here.