diff --git a/docs/css.html b/docs/css.html index 728dac389f..f2f54a3fc1 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1725,6 +1725,43 @@ For example, <code><section></code> should be wrapped as inlin <input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here..." disabled> +
Add the disabled
attribute on a fieldset
to disable all the controls within the fieldset at once.
+<form class="form-inline"> + <fieldset disabled> + <input type="text" class="span4" placeholder="These controls are all disabled just"> + <select class="span4"> + <option>by being under a disabled fieldset</option> + </select> + <div class="checkbox"> + <label> + <input type="checkbox"> Can't check this + </label> + </div> + <button type="submit" class="btn btn-primary">Submit</button> + </fieldset> +</form> ++
+ Heads up!
+ <a>
buttons within a fieldset[disabled]
will be styled like they each had the .disabled
class, but this only affects aesthetics; you must use custom JavaScript to actually make such links non-functional.
+
Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding .control-group
.
Add the disabled
attribute on a fieldset
to disable all the controls within the fieldset at once.
+<form class="form-inline"> + <fieldset disabled> + <input type="text" class="span4" placeholder="These controls are all disabled just"> + <select class="span4"> + <option>by being under a disabled fieldset</option> + </select> + <div class="checkbox"> + <label> + <input type="checkbox"> Can't check this + </label> + </div> + <button type="submit" class="btn btn-primary">Submit</button> + </fieldset> +</form> ++
+ Heads up!
+ <a>
buttons within a fieldset[disabled]
will be styled like they each had the .disabled
class, but this only affects aesthetics; you must use custom JavaScript to actually make such links non-functional.
+
Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding .control-group
.