基于javascript的在火狐里面强制换行字符 时间:2020-05-12 人气:0 效果演示代码: firefox-break-word If there were less sympathy in the world, there would be less trouble in the world. ( O. Wilde ) [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]CSS控制强制换行/强制换行 强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行 div{ word-break:break-all; } 加载全部内容