Here is a quote from the duplicate:
In fact, until a CSS technology arrives with the ability to automatically close the gaps, CSS in general has no solution. Something like this would probably require reflowing the document, so I'm not sure how useful or efficient it would be.
You'll need a script.
The duplicate question shows many ways to achieve this and most of them are hack and workarounds and there is still no generic way to do this with pure CSS. Considering the fact that you want to target old browsers and you cannot use JS, you simply make this more complicated.
So the answer is somehow : "you cannot do this with your requirements and the best you could do is already described within the duplicate".
If you are not convinced about this you can activate a bounty on the duplicate target saying that you want a solution with pure CSS that works on old browser without JS. I would personnaly follow the bounty as myself I am intrested to know if such way exist (even if I am convinced that there is actually no way).
I have added more duplicate btw