【发布时间】:2012-12-11 11:27:35
【问题描述】:
为什么自动换行属性在下面的示例中不能正常工作?
http://jsfiddle.net/k5VET/739/
我能做些什么来确保“consectetur”这个词的一部分适合第一行本身?我希望每行能容纳最大数量的字符。
css 是:
#fos { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size:14px;
font-weight: normal;
line-height: 18px;
width: 238px;
height:38px;
cursor: pointer;
word-wrap:break-word;
border:2px solid; }
【问题讨论】: