Apparently, overflow-wrap is the new word-wrap as its been removed from the CSS3 spec. I just read about this only a couple of days ago, along with some other interesting proposed typographic properties:
But before you go rushing into changing all that word-wrap goodness you just added – from the spec: “For legacy reasons, UAs may also accept ‘word-wrap’ as an alternate name for the ‘overflow-wrap’ property.”
Apparently,
overflow-wrapis the newword-wrapas its been removed from the CSS3 spec. I just read about this only a couple of days ago, along with some other interesting proposed typographic properties:http://www.impressivewebs.com/new-css3-text-wrap/
Worth noting: although word-wrap has been removed from spec there is no current browser support for the replacement property!
But before you go rushing into changing all that word-wrap goodness you just added – from the spec: “For legacy reasons, UAs may also accept ‘word-wrap’ as an alternate name for the ‘overflow-wrap’ property.”
the surrounding element must have a specified width or your long url will still break out of the box.
You solved a problem I’ve been having. Awesome!
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.