for block-level elements such as Div,p
Line wrapping for normal text (Asian and non-Asian text) elements have default white-space:normal, and wrap after defined width
Html
<div id= "Wrap" > Normal text wrap (Asian and non-Asian) elements have the default white-space:normal when defined </div>
Css
#wrap {white-space:normal; width:200px;}
1. (IE) consecutive English characters and Arabic numerals, using Word-wrap:break-word; or word-break:break-all; implement force break
#wrap {word-break:break-all; width:200px;}
Or
#wrap {word-wrap:break-word; width:200px;}
<div id= "Wrap" >abcdefghijklmnabcdefghijklmnabcdefghijklmn111111111</div>
Effect: line wrapping can be implemented
2. (Firefox browser) consecutive lines of English characters and Arabic numerals, all versions of Firefox do not solve this problem, we only let the characters beyond the boundary hide or add a scrollbar to the container
#wrap {word-break:break-all; width:200px; overflow:auto;}
<div id= "Wrap" >abcdefghijklmnabcdefghijklmnabcdefghijklmn111111111</div>
Effect: Container normal, content hidden