0

浏览器将是 Mozilla firefox 5

如果文本是:文本太长gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg

我希望它被包装:

text is too longggggggggggggg
ggggggggggggggggggggggggggggg
ggggggggggggggggggggggggggggg
4

3 回答 3

0

把它放在一个多行文本框中。

于 2013-06-27T07:01:59.563 回答
0

实际上,您需要指定标签的宽度。在我的情况下,我把它放在里面并添加这个 css 类: display: inline-block; 宽度:123px;断字:全部中断;

于 2014-09-04T05:35:37.993 回答
0

您可以尝试使用 CSS 样式word-wrap: break-word

于 2013-06-27T07:00:57.367 回答