Display html elements next to each other instead of span multiple lines?


if there are 2 web page elements generated by remote javascript
and it display each at one line and i want these to display in line one next to other, how to do it?

i have already tried with table like this. When i use HTML tester like https://codepen.io/marcysutton/pen/ZYqjPj and paste that code inside and append sample text to each column content, it displays the text in one line, but in reality, on the site it looks like this:
My research not worked, maybe searching wrong phrases.