John Davidson

php - how to align two input class on the same line?

0 comments
Message:


I want to align two input classes next to each other with some space in between them like the following image.


However, my current output is like this:


The html code is


    <div class="form-group">
<div class="row">
<label for="form-workphoneNumber" class="col-sm-4 col-xs-4 control-label">input</label>
<div id="box" class="col-sm-8 col-xs-8">
<input type="text" class="form-control" name="workphoneNumber" placeholder="enter">
<input type="button" class="btn btn-success" value="add" onclick="add_textbox()">
</div>
</div>
</div>


My Answer:
html












Rate this post

5 of 5 based on 4825 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us