Hello forum,
How can I please make input boxes to align vertically well? Here is how mine is displaying:
HTML:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Joscheck Payment</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/StyleSheet.css" rel="stylesheet" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style type="text/css">
.auto-style1 {
margin-bottom: 15px;
text-align: center;
}
</style>
</head>
<body style="background-color:#DCDCDC; overflow-x:no-display;">
<form id="paymentForm" runat="server">
<div class="text-center">
<br /><br />
</div>
<div class="container-fluid">
<div class="content">
<div class="header">
<h4 class="text-center">Payment Page</h4>
</div>
<div class="">
<script src="https://js.paystack.co/v1/inline.js"></script>
<div class="auto-style1">
<label for="email">
<div>
Email Address</div>
</label>
<input type="email" id="email_address" "required" />
<br />
</div>
<div class="auto-style1">
<label for="amount">Amount</label>
<input type="tel" id="amount" "required" />
<br />
</div>
<div class="auto-style1">
<label for="first-name">First Name</label>
<input type="text" id="first-name" />
<br />
</div>
<div class="auto-style1">
<label for="last-name">Last Name</label>
<input type="text" id="last-name" />
<br />
</div>
<div class="form-submit">
<button type="button" id="Button1" runat="server" class="btn btn-primary navbar-btn" onclick="payWithPaystack()">Deposit</button>
</div>
</div>
</div>
</div>
</form>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>