Gap/Space between columns

I’m pretty new to webflow and trying things out. I’m trying to add a space/gap between columns but when I try adding a margin to the divs, the background color of the text does not automatically adjust with the size of the image as seen in the attachment. I’m not sure what is the best practice here. Please help. Thank you.