How do you make make div height = image height ?

Current code below and image attached of problem.
I need the white of the text block to stretch to the bottom of the image.
<div class="row">
<div class="col">
<div id="textblock">
<span class="h4">Benefits from YESTERDAY</span><br>
<span class="p">- Upgrade old alarm installations with app functions</span><br>
<span class="p">- Improve customer retention</span>
</div>
</div>
</div>
.row:before, .row:after {
content: "";
display: table;
}
.row:after {
clear:both;
}
.row {
width: 99%;
display: inherit;
position: relative;
padding-right: 1%;
}
.col {
width: 49%;
height: auto;
text-align: center;
float: left;
padding-bottom: 1%;
padding-left: 1%;
display: table-cell;
}
#textblock {
text-align: center;
width: 80%;
max-width: 80%;
padding-right: 10%;
padding-left: 10%;
padding-top: 10%;
padding-bottom: 10%;
position: relative;
display: inline-block;
background-color: #FFFFFF;
height: auto;
}
