Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

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

  • 1 resposta
  • 2 têm este problema
  • 5 visualizações
  • Última resposta por 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 as respostas (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.