英文长字符串自动换行问题,兼容IE Firefox chrome

<style type="text/css">
<!--
	/* 自动换行 */
	.atuo_break_line {
		white-space: pre-wrap;       /* css-3 */
		white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
		white-space: -pre-wrap;      /* Opera 4-6 */
		white-space: -o-pre-wrap;    /* Opera 7 */
		word-wrap: break-word;       /* Internet Explorer 5.5+ */
	}
-->
</style>

<div class='atuo_break_line' style='width:780px'>xxxxxxxxx</div>
 

相关推荐