I know there are so many similar posts for this question: CSS for Aligning TextBox and Label Move items in Ul Li up and down etc... but in this case, I have gotten my first text box and words aligned on one straight line, but when I try to figure out how to do this for the others, I get this result:
When I clear my floats, this is my result:
How can I fix my css/html so that each part is aligned on one line?
I have tried br p div elements, and others. Please help. Thanks!
Here is my html/css:
<div class="section"> <a href="html_images.asp" target="_blank">Create New
Meeting</a>
<a href="html_images.asp" target="_blank">View All Current Meetings</a>
</div>
<div class="bottom">
<a class="trigger_popup_fricc">Edit Account Settings</a> </div>
<div class="hover_bkgr_fricc">
<span class="helper"></span>
<div>
<div class="popupCloseButton">X</div>
<p>Current Employee Information<br />
<h5 style="color:#000066">Employee ID: 835969</h5>
<h5 style="color:#000066">Employee Name: Maria Sanchez</h5>
<h5 style="color:#000066"> Current Email Address: mmarie3@rrms.com</h5>
<h5 style="color:#000066; float:left;margin-right:10px;"> Update Email Address: </h5><input type="text" name="CurrentEmail" style="float:left; " value="mmarie3@rrms.com"><br>
<h5 style="color:#000066; float:left;margin-right:10px;">Current Password:</h5> <input type="text" style="float:left;" name="PasswordCurr" value="********"><br>
<h5 style="color:#000066; float:left;margin-right:10px;"> Update Password:</h5> <input type="text" style="float:left;" name="UpdatePass" value=" "><br>
<h5 style="color:#000066; float:left;margin-right:10px;"> Confirm New Password:</h5> <input type="text" style="float:left;" name="ConfirmPass" value=" "><br>
<a href="#" class="myButton"><h6 style="color: whitesmoke">Submit</h6></a>
</div>
</div>