"Form Layout"
Bootstrap 3.3.0 Snippet by jamesquox

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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="navbar"> <div class="navbar-inner"> <a class="brand" href="#">Title</a> <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> </div> </div> <div class="container"> <div class="hero-unit"> <h1>Heading</h1> <p>Tagline</p> <p> <a class="btn btn-primary btn-large"> Learn more </a> </p> </div> </div> <div class="container-colored-md bg-2-md"> <div class="container"> <div class=""> <form> <fieldset class="scheduler-border"> <legend class="scheduler-border">Start Time</legend> <div class="control-group"> <label class="control-label input-label" for="startTime">Start :</label> <div class="controls bootstrap-timepicker"> <input type="text" class="datetime" type="text" id="startTime" name="startTime" placeholder="Start Time" /> <i class="icon-time"></i> </div> </div> <!-- Form Name --> <legend>Section</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Text Input</label> <div class="col-md-8"> <input id="textinput" name="textinput" placeholder="placeholder" class="form-control input-md" type="text"> <span class="help-block">help</span> </div> </div> <!-- Textarea --> <div class="form-group"> <label class="col-md-4 control-label" for="textarea">Text Area</label> <div class="col-md-4"> <textarea class="form-control" id="textarea" name="textarea">default text</textarea> </div> </div> <!-- Multiple Checkboxes (inline) --> <div class="form-group"> <label class="col-md-4 control-label" for="checkboxes">Inline Checkboxes</label> <div class="col-md-4"> <label class="checkbox-inline" for="checkboxes-0"> <input name="checkboxes" id="checkboxes-0" value="1" type="checkbox"> 1 </label> <label class="checkbox-inline" for="checkboxes-1"> <input name="checkboxes" id="checkboxes-1" value="2" type="checkbox"> 2 </label> <label class="checkbox-inline" for="checkboxes-2"> <input name="checkboxes" id="checkboxes-2" value="3" type="checkbox"> 3 </label> <label class="checkbox-inline" for="checkboxes-3"> <input name="checkboxes" id="checkboxes-3" value="4" type="checkbox"> 4 </label> </div> </div> <!-- Multiple Radios (inline) --> <div class="form-group"> <label class="col-md-4 control-label" for="radios">Inline Radios</label> <div class="col-md-4"> <label class="radio-inline" for="radios-0"> <input name="radios" id="radios-0" value="1" checked="checked" type="radio"> 1 </label> <label class="radio-inline" for="radios-1"> <input name="radios" id="radios-1" value="2" type="radio"> 2 </label> <label class="radio-inline" for="radios-2"> <input name="radios" id="radios-2" value="3" type="radio"> 3 </label> <label class="radio-inline" for="radios-3"> <input name="radios" id="radios-3" value="4" type="radio"> 4 </label> </div> </div> <!-- Prepended checkbox --> <div class="form-group"> <label class="col-md-4 control-label" for="prependedcheckbox">Prepended Checkbox</label> <div class="col-md-8"> <div class="input-group"> <span class="input-group-addon"> <input type="checkbox"> </span> <input id="prependedcheckbox" name="prependedcheckbox" class="form-control" placeholder="placeholder" type="text"> </div> <p class="help-block">help</p> </div> </div> <!-- Button Drop Down --> <div class="form-group"> <label class="col-md-4 control-label" for="buttondropdown">Button Drop Down</label> <div class="col-md-8"> <div class="input-group"> <input id="buttondropdown" name="buttondropdown" class="form-control" placeholder="placeholder" type="text"> <div class="input-group-btn"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> Action <span class="caret"></span> </button> <ul class="dropdown-menu pull-right"> <li><a href="#">Option one</a></li> <li><a href="#">Option two</a></li> <li><a href="#">Option three</a></li> </ul> </div> </div> </div> </div> <!-- Select Basic --> <div class="form-group"> <label class="col-md-4 control-label" for="selectbasic">Select Basic</label> <div class="col-md-8"> <select id="selectbasic" name="selectbasic" class="form-control"> <option value="1">Option one</option> <option value="2">Option two</option> </select> </div> </div> <!-- Button (Double) --> <div class="form-group"> <label class="col-md-4 control-label" for="button1id">Double Button</label> <div class="col-md-8"> <button id="button1id" name="button1id" class="btn btn-success">Good Button</button> <button id="button2id" name="button2id" class="btn btn-danger">Scary Button</button> </div> </div> </fieldset> </form> </div> </div> </div>
html, body { background-color: white; margin: 0; padding: 0; } .container-color-md{ margin-bottom: 1em; } .container-colored-md.bg-2-md { background-color: #f3f3f3 } fieldset.scheduler-border { border: 1px groove #ddd !important; padding: 0 1.4em 1.4em 1.4em !important; margin: 0 0 1.5em 0 !important; -webkit-box-shadow: 0px 0px 0px 0px #000; box-shadow: 0px 0px 0px 0px #000; } legend.scheduler-border { font-size: 1.2em !important; font-weight: bold !important; text-align: left !important; width:auto; padding:0 10px; border-bottom:none; }

Related: See More


Questions / Comments: