Currently, I am experimenting with Bootstrap's responsive columns and rows. In order to understand how it functions, I have set up labels and fields. My main challenge now is aligning the text-fields with their respective labels. Despite referring to Bootstrap's documentation for guidance, I am struggling to find a solution to ensure proper alignment.
The issue I am facing is that my fields seem to be shifting towards the bottom rather than staying in line with the labels. I am seeking assistance on how to correctly align the text-fields with the corresponding labels.
Reference: https://getbootstrap.com/docs/4.0/layout/grid/
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script>
<div class="container">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-4">
One
</div>
<div class="col-sm-4">
two
</div>
<div class="col-sm-4">
three
</div>
</div>
<div class="row">
<div class="col-sm-4">
<input id="Text1" type="text" placeholder="one" />
</div>
<div class="col-sm-4">
<input id="Text2" type="text" placeholder="two" />
</div>
<div class="col-sm-4">
<input id="Text3" type="text" placeholder="three" />
</div>
</div>
</div>
</div>