.intro h1{
font-family: 'Cambria';
font-size: 16pt;
font: bold;
text-align: left;
}
.intro p{
font-family: 'Calibri';
font:italic;
font-size: 12pt;
padding: 0px 690px 0px 20px;
text-align: left;
}
.content{
border: 2px solid;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#para1{
padding: 0px 1050px 0px 20px;
}
#para2{
padding: 0px 1099px 0px 20px;
}
.username-label, .username-textbox, .password-label, .password-textbox {
text-align:right;
}
<html>
<head>
<link href="~/Styles/Home.css" rel="stylesheet" />
<title>Final Project</title>
</head>
<body>
<script src="~/Scripts/jquery-2.1.1.min.js"></script>
<script src="~/Scripts/jquery-ui.min.js"></script>
<script src="~/Scripts/Home.js"></script>
<div class="intro">
<h1>Welcome to Cuyahoga Community College Student Services Online</h1>
<p>Cuyahoga Community College recognizes students' rights to access personal and academic records
in accordance with the Family Educational Rights and Privacy Act of 1974 (FERPA) as amended by Public Law 93-568.</p>
</div>
<div class="content">
<p id="para1">Already have an account with us? Returning users may log in by entering their site username and password. </p>
<div class="username-label">Username: </div>
<div class="username-textbox">
<input class="existing username-input-textbox" type="text" value="" />
</div>
<div class="password-label">Password:</div>
<div class="password-textbox">
<input class="existing password-input-textbox" type="text" value="" />
</div>
<button id="button1">Log in</button>
<hr />
<p id="para2">New Users, please create a new account by providing us with some basic information.</p>
<div class="Username-label1">Username: </div>
<div class="username-textbox1">
<input class="username-new-input-textbox" type="text" value="" />
</div>
<div class="Password-label2">Password:</div>
<div class="password-textbox2">
<input class="password-new-input-textbox" type="text" value="" />
</div>
<div class="Email-label3">Email:</div>
<div class="email-textbox3">
<input class="email-new-input-textbox" type="text" value="" />
</div>
<div class="Repeat-Email-label4">Repeat Email Address:</div>
<div class="repeat-email-textbox4">
<input class="reenter-new-input-textbox" type="text" value="" />
</div>
<button id="button2">Create Account</button>
</div>
<footer>Cuyahoga Community College</footer>
<footer>700 Carnegie Avenue, Cleveland, Ohio, 44115</footer>
</body>
</html>
I'm currently developing a web project that includes a login screen for Tri-C students where they can enter their username and password if they already have an account or create a new one if they don't. I haven't added any functionality to the buttons yet, but I'm having trouble positioning the labels and textboxes to the right side. While the text-align property aligns them to the right, it doesn't achieve the desired layout shown in the picture. Here's my code so far along with the image of what I'm aiming for.