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

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

display:inlinr not consistant

  • 1 ответ
  • 0 имеют эту проблему
  • 93 просмотра
  • Последний ответ от Denys
  • Закрыто

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?

Изменено Denys

Все ответы (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.