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

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

display:inlinr not consistant

  • 1 trả lời
  • 0 gặp vấn đề này
  • 117 lượt xem
  • Trả lời mới nhất được viết bởi Denys
  • Đã khóa

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?

Được chỉnh sửa bởi Denys vào

Tất cả các câu trả lời (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.