I'm trying to align an image to the bottom of the out div
element using vertical-align
,but this vertical-align
doesn't seem to work,the image is not moving at all.
<div class="row">
<div class="col-md-1">
<img src="../images/image.png" style="height: 20px; width: 20px;cursor:pointer"/>
</div>
<div class=col-md-11 >
<div style="overflow:auto;height:300px"></div>
</div>
</div>
I'm using bootstrap classes for alignments. Is there anything that can make the image div
align to the bottom of the outer div
?Which is taking the height
of second div
which is 300px;
.