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

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

display:inlinr not consistant

  • 1 відповідь
  • 0 мають цю проблему
  • 95 переглядів
  • Остання відповідь від 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.