"Simplest contact form"
Bootstrap 3.1.0 Snippet by camc

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="form-bg"> <form class="form-horizontal" action="" method="post"> <fieldset> <legend class="text-left">Contact us</legend> <!-- Name input--> <div class="form-group"> <label class="col-md-3 control-label" for="name">Name</label> <div class="col-md-9"> <input id="name" name="name" type="text" placeholder="Your name" class="form-control"> </div> </div> <!-- Email input--> <div class="form-group"> <label class="col-md-3 control-label" for="email">E-mail</label> <div class="col-md-9"> <input id="email" name="email" type="text" placeholder="Your email address" class="form-control"> </div> </div> <!-- Phone input--> <div class="form-group"> <label class="col-md-3 control-label" for="name">Phone</label> <div class="col-md-9"> <input id="name" name="name" type="text" placeholder="Your Contact Number" class="form-control"> </div> </div> <!-- Message body --> <div class="form-group"> <label class="col-md-3 control-label" for="message">Your message</label> <div class="col-md-9"> <textarea class="form-control" id="message" name="message" placeholder="Please enter your message here..." rows="5"></textarea> </div> </div> <!-- Form actions --> <div class="form-group"> <div class="col-md-12 text-right"> <button type="submit" class="btn btn-success">Submit</button> </div> </div> </fieldset> </form> </div> </div> </div> </div>
body {padding-top:20px;} .form-bg {background-color:#F7F7F7; padding:20px; border:1px solid #DFDEDE;}

Related: See More


Questions / Comments: