CSS3 word-wrap Property
Property Values
Value : Description
- normal : Break words only at allowed break points
 - break-word : Allows unbreakable words to be broken
 - initial : Sets this property to its default value. Read about initial
 - inherit : Inherits this property from its parent element. Read about inherit
 
1. break-word
Allow long words to be able to break and wrap onto the next line:
p.test {
    word-wrap: break-word;
}

2. normal
Only break words at allowed break points.
p.test {
    word-wrap: normal;
}

        
      
      
          
评论 (0)