效果演示代码: firefox-break-word <!--/*--><![CDATA[/*><!--*/ #break {border:1px solid #ccc;padding:.4em .8em;width:200px;word-wrap:break-word;word-break:break-all;} /*]]>*/--> If there were less sympathy in the world, there would be less trouble in the world. ( O. Wilde ) function toBreakWord(intLen){ var obj=document.getElementById("ff"); var strContent=obj.innerHTML; var strTemp=""; while(strContent.length>intLen){ strTemp+=strContent.substr(0,intLen)+" "; strContent=strContent.substr(intLen,strContent.length); } strTemp+=" "+strContent; obj.innerHTML=strTemp; } if(document.getElementById && !document.all) toBreakWord(37) [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] CSS控制强制换行/强制换行 强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行 div{ word-break:break-all; }