From c459c657f8e10ae1af6378114f4943104597c590 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 7 May 2013 21:56:55 -0700 Subject: Update forms * Overhaul the form control sizing section to only show sizing via grid columns as parents, not as classes on inputs * Restore the inline-form option * Restore the bottom margin on form controls and make them block level instead of inline-block * More misc docs cleanup for forms --- docs/docs.html | 81 +++++++++++++++------------------------------------------- 1 file changed, 20 insertions(+), 61 deletions(-) (limited to 'docs/docs.html') diff --git a/docs/docs.html b/docs/docs.html index 88ab16d7c..f3370dfbd 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -1327,10 +1327,14 @@ For example, <section> should be wrapped as inline.

Included with Bootstrap are optional form layouts for common use cases.

Inline form

-

Add .form-inline for left-aligned labels and inline-block controls for a compact layout.

+

Add .form-inline for left-aligned and inline-block controls for a compact layout.

+
+

Requires custom widths

+

Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.

+
- - + +