css英文单词换行不截断单词





字符换行



div


All white-space:normal;


Wordwrap still occurs in a td element that has its WIDTH attribute set to a value smaller than the unwrapped content of the cell, even if the noWrap property is set to true. Therefore, the WIDTH attribute takes precedence over the noWrap property in this scenario



IE \ word-wrap : break-word ;


abcdefghijklmnabcdefghijklmnabcdefghijklmn111111111

IE \ word-break:break-all;


abcdefghijklmnabcdefghijklmnabcdefghijklmn111111111



Firefox/ word-break:break-all; overflow:auto;


abcdefghijklmnabcdefghijklmnabcdefghijklmn111111111


你可能感兴趣的:(css)