Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

Saber mais

display:inlinr not consistant

  • 1 resposta
  • 0 têm este problema
  • 117 visualizações
  • Última resposta por Denys
  • Trancado

below is copy from try-it-editor

You might be wondering why we lumped fractions and greatest common fractions together.
The fraction

24
80
. What you may have learned was to get the prime factorization of the numerator and denominator and again
24
80
reduce by eliminating common factors. For our example we could write

The first time the inline table creates a new line second time inserts in fraction where it is (which is how I want it) How do I prevent it from forcing a new line?

below is copy from try-it-editor <!DOCTYPE html> <html> <head> <style> .flow {display:inline; } p {text-align:justify;text-indent:3ch} .BB {border-bottom:1px black solid;} .eq {vertival-align:middle} table.DOM {border-collapse:collapse;} table.DOM td {text-align:center;} </style> </head> <body> <p>You might be wondering why we lumped fractions and greatest common fractions together. <br> The fraction <table class='flow eq DOM'><tr><td class='BB'>24</td></tr> <tr><td class='eq'>80</td></tr></table>. What you may have learned was to get the prime factorization of the numerator and denominator and again <table class='flow eq DOM'><tr><td class='BB'>24</td></tr> <tr><td class='eq'>80</td></tr></table> reduce by eliminating common factors. For our example we could write</p> </body> </html> The first time the inline table creates a new line second time inserts in fraction where it is (which is how I want it) How do I prevent it from forcing a new line?

Modificado por Denys a

Todas as respostas (1)

Hi,

This forum is intended to help users with Mozilla products, such as Firefox, while your question isn't Firefox-specific. As a moderator, I'm going to mark this thread as off-topic and lock the thread since it is not a subject covered in the support forum. Please see Mozilla Support rules and guidelines.

Regarding your issue: If you open the Developer tools Inspector, you can notice that tables cannot exist inside the

tag. That causes <p> to be closed before the first table, leaving your second line unwrapped. So <p> creates a paragraph in the first case but not in the second. If you remove <p>, you won't get any newlines.