• Small Discription For Image - 1.

  • Small Discription For Image - 2.

  • Small Discription For Image - 3.

  • Small Discription For Image - 4.

New Post

Rss

Friday, 27 February 2015
Prevent Long URL’s From Breaking Out of Container

Prevent Long URL’s From Breaking Out of Container


Allow long words to be able to break and wrap onto the next line:

p.test {
    word-wrap: break-word;
}

Syntaxword-wrap: normal|break-word|initial|inherit;

A more robust browser support, you'll need more
-ms-word-break: break-all;
/* Be VERY careful with this, breaks normal words wh_erever */ 
word-break: break-all; 
/* Non standard for webkit */ 
word-break: break-word; 
-webkit-hyphens: auto; 
-moz-hyphens: auto; 
hyphens: auto;



Copyright © 2012 Core CSS All Right Reserved