Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Buscar en Ayuda

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 respuesta
  • 2 tienen este problema
  • 5 visitas
  • Última respuesta de 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?

Todas las respuestas (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.