How to prevent single words or long URL’s From Breaking Out of Container

Css try:
word-wrap: break-word;

For more robust browser support:

-ms-word-break: break-all;
word-break: break-all;

/* Non standard for webkit */
word-break: break-word;

-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;

By Keenlio, January 17, 2014

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *


− 9 = zero

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>