Thursday, January 19, 2012

Word-Wrap: Force Text to Wrap


CSS: Word-Wrap Property (view demo)

You can specify either normal or break-word value with the word-wrap property. Normal means the text will extend the boundaries of the box. Break-word means the text will wrap to next line.
.break-word {
  word-wrap: break-word;
}
break word

0 comments:

Post a Comment