4

<p>タグ内のタグに通常のテキストだけがあります<div>。ただし、正しく表示されるのは Firefox だけです。

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...

これをすべてのブラウザで機能させるにはどうすればよいですか?

4

2 に答える 2

4

CSS のどこかに、おそらくword-wrap: break-word. それを見つけて変更しますword-wrap: normal(または単に word-wrap 要素を完全に削除します)。

于 2010-02-14T00:35:49.360 に答える
2

テキストを独自に分割するには、テキストのコンテナ (div、td など) の左右にパディングを追加するだけです。

于 2011-06-28T19:21:10.590 に答える