I need to create upload button that centered at an image.
I'm a beginner, please help and explain how to use. Many thanks.
Here is my code: https://jsfiddle.net/marco83/ydgnkfw3/
HTML
<div class="media-left text-center container22">
<img src="http://images.buddytv.com/btv_2_505531673_0_1200_10000_-1_/the-pacific-james-ba.jpg" style="width: 150px; height: 150px;" class="image1"></img>
<a href="#" id="upfile1">
<span style="font-size: 28px;" id="img-upload-bt" class="glyphicon glyphicon-camera"></span>
</a>
</div>
<input type="file" id="file1" name="file1" style="display:none" />
CSS
.container22 {
height: 10em;
display: table-cell;
vertical-align: middle;
text-align: center;
}
#upfile1 {
margin-left: auto;
margin-right: auto;
}
Here is what i want