Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

CSS WORD WRAP

This property specifies whether the current rendered line should break if the content exceeds the boundary of the specified Rendering box for an Element (this is similar in some ways to the ‘clip’ and ‘overflow’ properties in intent.) This property should only apply if the element has a visual rendering, is an inline element with explicit height/width, is absolutely positioned and/or is a block element.

Examples
div {
word-wrap: break-word
}
Content for the div element
Possible Values

normal: Content will exceed the boundaries of the specified rendering box.
break-word: Content will wrap to the next line when necessary, and a word-break will also occur if needed.



This post first appeared on CSS3.com - A Comprehensive CSS 3 Reference Guide,, please read the originial post: here

Share the post

CSS WORD WRAP

×

Subscribe to Css3.com - A Comprehensive Css 3 Reference Guide,

Get updates delivered right to your inbox!

Thank you for your subscription

×