Home › Forums › CSS › Border Adds Padding At Bottom of Images › Re: Border Adds Padding At Bottom of Images
May 10, 2013 at 9:39 pm
#134742
wolfcry911
Participant
I’ll take a stab, but in the future it would be beneficial to supply at least some code if not a link to a pen or the page in question.
I’m guessing you’re putting the border on the image’s container. The space below the image is reserved for font descenders because images are inline by default. So you could either set the image to display: block; or vertical-align: bottom. Either should work.