Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

<pre><div style="word-wrap:break-word">long text</div></pre> doesn't force wrap

more options
long text
works in IE9 but not FireFox 31. Actual returns do wrap text but the text of long paragraphs extends outside the
, despite the word-wrap:break-word style. Maybe I'm expecting too much interpretation from
? But I am thinking if IE can handle this, perhaps FireFox could too?
<pre><div style="word-wrap:break-word">long text</div></pre> works in IE9 but not FireFox 31. Actual returns do wrap text but the text of long paragraphs extends outside the <div>, despite the word-wrap:break-word style. Maybe I'm expecting too much interpretation from <pre>? But I am thinking if IE can handle this, perhaps FireFox could too?

All Replies (1)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.