Spacing between gallery images

Hello!
I have several pages on my site with galleries, and they all have the same problem. There is no space between each thumbnail. I have setting the spacing to different widths, but it does not seem to make a difference. The images are still touching. I would appreciate your help on this! Thank you so much!