我在<p>标签中只有一段普通的文本。但只有火狐能正确显示。
Firefox打破了单词之间的界限。所有其他浏览器都会在单词中间换行,这使得阅读变得困难。
以下是我的意思的一个例子:
Firefox(工作):

This was busy in it was I was here. Let
him as being within eight by their
graves, to go down upon her to be a
dozen directly. So, leaving word
following, poor mother, of other man,
and my finger on his blue flag, and the
habit of tea on a bit. I might feel
very sorry there is rich, too; late of
his deepest voice...

所有其他浏览器(IE5-8、Safari、Chrome)(不工作:)
This was busy in it was I was here. Le
t him as being within eight by their g
raves, to go down upon her to be a doz
en directly. So, leaving word followin
g, poor mother, of other man, and my f
inger on his blue flag, and the habit
of tea on a bit. I might feel very sor
ry there is rich, too; late of his dee
pest voice...

如何使它适用于所有浏览器?

最佳答案

在你的css中,你可能有word-wrap: break-word。找到它并将其更改为word-wrap: normal(或者干脆删除wrap元素)。

10-05 20:42