Currently, I am working on creating a form with two input fields - one for text and the other for file upload. However, the issue I am facing is that the Browse button for the file input is being displayed inside the input box. My goal is to have the button outside of the input box. I have attached a screenshot for reference. Any assistance in resolving this matter would be greatly appreciated.
Below is the snippet of the code:
<form class="form-inline fonts-calibri" action="" enctype = "multipart/form-data">
<div class="form-group">
<label for="oid">Purchase Order No. </label>
<input type="text" class="form-control" id="oid" placeholder="Enter PO number" name="oid">
</div>
<div class="form-group pull-right" style="margin-right : 15%;">
<label for="file">Upload PO </label>
<input type = "file" class="form-control" id="file" name = "file" size = "50"/>
<span><button type="submit" class="btn btn-default" id="upload-button"><span class="fa fa-upload"></span></button></span>
</div>
</form>