Thank you for posting the code.
This is a screen shot showing what the code renders on my computer.
I cannot create three boxes inline when you have not sent me the code that created the box in the image that you posted. I need the CSS for all of the classes and I need the size of the image so I can use a placeholder. You should be able to set that up before you post the code so I see what you see.
Please send more code. or a link to your test site, if you have one.
When you post code, begin with three backticks on one line by themselves, then paste your code, then close with three backticks on a line by themselves again. Like this:
your code here
paste your code on the page, then highlight it with your mouse, then click the
</> button in the menu bar. That will format the code, too.
Thank you for helping us help you.