Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

  • 1 reply
  • 2 have this problem
  • 5 views
  • Paskiausią atsakymą parašė the-edmeister

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.