【发布时间】:2012-12-20 14:10:41
【问题描述】:
我的客户希望在他的网站上没有任何文字被破坏。示例:
The dog went for a walk and ran to-
wards the car.
应该是
The dog went for a walk and ran
towards the car.
此问题仅出现在 Safari 中。有谁知道解决这个问题的 CSS 属性?
【问题讨论】:
-
@Andy,
break-word从不在行尾引入连字符。
标签: css safari line-breaks word-break