I am trying to align a label next to a div horizontally in my asp.net form, but I am having trouble accomplishing this. Below is the code snippet that I have been working with. Can someone please help me?
Code Snippet:
<div class="modal" id="passwordModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Password Change</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="inputPassword">Your Password</label>
<input class="form-control" runat="server" placeholder="Current Password" type="password" id="inputPassword" />
</div>
<div class="form-group">
<label for="inputNewPassword">New Password</label>
<input class="form-control" runat="server" placeholder="New Password" type="password" id="inputNewPassword" />
</div>
<label id="labelAlign">How can I align this label next to the above div?</label>
<div class="form-group">
<label for="inputNewPasswordAgain">Confirm New Password</label>
<input class="form-control" runat="server" placeholder="Confirm New Password" type="password" id="inputNewPasswordAgain" />
</div>
</div>
<div class="modal-footer">
<asp:Button ID="btn_PasswordChange" class="btn btn-primary" runat="server" OnClick="btn_PasswordChange_Click" Text="Change" />
<asp:Button ID="btn_PasswordClose" class="btn btn-primary" runat="server" data-dismiss="modal" Text="Close" />
</div>
</div>
</div>
</div>