Showing posts with label word-break. Show all posts
Showing posts with label word-break. Show all posts

Monday, September 16, 2013

Wrap up the content in Div and adjust the height and width dynamically

One line CSS3 Property

word-break:break-all;
(or)
word-wrap:break-word;
Works in all browser

.append_data{
   white-space: pre-wrap;      /* CSS3 */   
   white-space: -moz-pre-wrap; /* Firefox */    
   white-space: -pre-wrap;     /* Opera <7 */   
   white-space: -o-pre-wrap;   /* Opera 7 */    
   word-wrap: break-word;      /* IE */
}