css强制换行_html/css_WEB-ITnose
程序员文章站
2022-04-28 12:06:21
...
css强制标签内容换行,但长字节英文单词不拆开
回复讨论(解决方案)
结帖率:33.33%
word-wrap:break-word;
强制不换行div{white-space:nowrap;}自动换行div{ word-wrap: break-word; word-break: normal; }强制英文单词断行div{word-break:break-all;}
width:500px; float:left; word-break:break-all;