div内长串数字或字母不断行处理

比如:

<div>1111tryrt645645rt4554111112324353453454364</div>
<div>qwewretrytuytuiyiuoipiopljlikhjjujugyuyuyruty</div>

css样式:

<style>
	div{
		40px;
		word-wrap:break-word;//折行必填
	}
</style>
原文地址:https://www.cnblogs.com/gaos/p/7767416.html