Inline form
Add .inline
for left-aligned labels and inline-block controls for a compact layout.
Note: elements become inline and so will wrap when the available width is shorter than the length of the total line
Horizontal form
Add .form-horizontal
for right aligned labels floated to the left making them appear on the same line as controls.