display:inlinr not consistant
below is copy from try-it-editor
You might be wondering why we lumped fractions and greatest common fractions together.
The fraction
| 24 |
| 80 |
| 24 |
| 80 |
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 thetag. 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.