My div contains an image and I've applied a 1 pixel border to the div. However, there seems to be some padding at the bottom between the border and the image. Can someone shed light on this phenomenon?
This is the snippet of my HTML code:
<div id="border"><img src="example.png" /></div>
Below is the CSS styling used:
#border {
border: 1px solid #000;
float: left;
}