给定块容器CSS线缠绕
<div>
this is a very long string which contains a bunch of characters that I want to break at container edges.
</div>
是否有任何的CSS属性我可以设置迫使它打破当它到达容器宽度,无论字符串的内容,例如像一个破:
this is a ve
ry long stri
ng which ...
几乎是我想要的。现在,它似乎总是喜欢以空白字符或其他特殊字符(例如/)分隔。
你也许可以在http://doctype.com/questions上问同样的问题:) – 2010-04-29 15:00:49
StackOverflow对于这类问题仍然足够。 – 2010-04-29 15:02:34
@Magnus:没有冒犯,但我还没有发现文档类型是解决技术问题的非常好的答案来源。 – Robusto 2010-04-29 15:13:43