pbojinov
11/8/2013 - 10:03 PM

Prevent Long URL's From Breaking Out of Container. Cross browser solution using CSS In depth read - http://kenneth.io/blog/2012/03/04/word-

Prevent Long URL's From Breaking Out of Container. Cross browser solution using CSS

In depth read - http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/

div {
    -ms-word-break: break-all;
    word-break: break-all;
    
    /* Non standard for webkit */
    word-break: break-word;
    
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}