"Program Setup"
Bootstrap 3.2.0 Snippet by gumatt

<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> <div class="col-sm-9"> <input type="password" id="confirm" placeholder="Confirm Password" class="form-control"> </div> </div> <div class="form-group"> <div class="col-sm-9 col-sm-offset-3"> <div class="checkbox"> <label> <input id="terms" type="checkbox">I accept <a href="#">terms</a> </label> </div> </div> </div> <!-- /.form-group --> <div class="form-group"> <div class="col-sm-9 col-sm-offset-3"> <button type="submit" class="btn btn-primary btn-block">Register</button> </div> </div> <div class="row"> <div class="col-sm-9 col-sm-offset-3 text-center"> Alread have an account? <a href="#login">Log-in here</a> </div> </div> </form> <!-- /form --> </div> <!-- ./container -->
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; }

Related: See More


Questions / Comments: