"Program Setup"
Bootstrap 3.2.0 Snippet by gumatt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<form class="form-horizontal" role="form">
<h2>Registration Form</h2>
<div class="form-group">
<label for="fullName" class="col-sm-3 control-label">Full Name</label>
<div class="col-sm-9">
<input type="text" id="fullName" placeholder="e.g. Bob Smith" class="form-control" autofocus>
<span class="help-block">should contain a space between first and last name</span>
</div>
</div>
<div class="form-group">
<label for="username" class="col-sm-3 control-label">username</label>
<div class="col-sm-9">
<input type="text" id="username" placeholder="e.g. oilman, bsmith" class="form-control" autofocus>
<span class="help-block">your login user name</span>
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-3 control-label">Email</label>
<div class="col-sm-9">
<input type="email" id="email" placeholder="e.g. bob@bobsoil.com" class="form-control">
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-9">
<input type="password" id="password" placeholder="Password" class="form-control">
<span class="help-block">6+ characters, 1+ uppercase, 1+ number</span>
</div>
</div>
<div class="form-group">
<label for="confirm" class="col-sm-3 control-label">Confirm Password</label>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
body {
background-color: #eee;
}
*[role="form"] {
max-width: 530px;
padding: 15px;
margin: 0 auto;
background-color: #fff;
border-radius: 0.3em;
}
*[role="form"] h2 {
margin-left: 5em;
margin-bottom: 1em;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: