user3436467 user3436467 -4 years ago 172
CSS Question

bootstrap input group alignment issue

Creating a input group in bootstrap 4 but one of the buttons seems to be out of alignment.

here is my code

<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<div class="input-group">
<input type="text" class="form-control" placeholder="upload file...">
<span class="input-group-btn">
<label class="btn btn-secondary">browse<input name="derfile" type="file" style="display: none;"></label>
<button class="btn btn-primary" type="submit">Submit</button>

Here is my fiddle

appreciate some assistance

Answer Source

To achieve expected result use below


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download