The example of this article describes the implementation of the CSS forced wrap alignment. Share to everyone for your reference. The specific analysis is as follows:
Using CSS to control Chinese and English characters Force wrap and justify, effectively avoid the content of div beyond the scope and change the layout of the page, the function of forced line wrapping is very practical.
The code is as follows:
<title>css Forced line Wrap </title>
<body>
English to align:
<div style= "Font-size:12px;width:300;text-align:justify;text-justify:newspaper" >If you are Male, between Years old, ethnically Chinese and effectively bilingual (English/mandarin) with a minimum university degree, this is yo ur opportunity of a lifetime. You are need to have confidence and charisma in front of the camera and possess good scriptwriting ability in 中文版. Some Media Experience Preferred</div>
Chinese alignment:
<div style= "font-size:12px;width:300;text-align:justify; Text-justify:inter-ideograph ">
A gray style super practical beautiful Web Calendar components, in the assurance of the appearance of the basis, the plug-in more focus on the function of the experience, the operation is very comfortable, want to use the Web date selector Friends, this paragraph is a good choice for you. </div>
</body>
I hope this article will help you with the DIV+CSS web design.