Here is the code:
<div style="border-style:solid; border-color:aqua; border-width:1px;">
<img src="some picture" align="left" />
<div>
<span >SOME TEXT</span></br>
<span >SOME TEXT</span></br>
<span >SOME TEXT</span>
</div>
</div>
The span block takes less (vertical) space then image and so the border and image overlaps and the image is partly out of the div span. Here is jsFiddle
How to apply border to out div?
You should clear the image and the div with spans adding :
<div style="clear:both"></div>in the end.