title: Bootstrap align Input group horizontally
body: <p>I have following form and want the input-group to be aligned horizontally.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="container"&gt;
    &lt;h2&gt;Bootstrap Mixed Form&lt;/h2&gt;
    &lt;form role="form" class="form-horizontal"&gt;
        &lt;div class="form-group"&gt;
        &lt;div class="col-sm-2"&gt;
    &lt;div class="input-group"&gt;  
         &lt;div class="input-group-btn"&gt; 
          &lt;button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"&gt;Frau &lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
          &lt;ul class="dropdown-menu" role="menu"&gt;
            &lt;li&gt;&lt;a href="#"&gt;Herr&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Frau&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
         &lt;/div&gt;&lt;!-- /btn-group --&gt;
            &lt;label&gt;Name&lt;/label&gt;&lt;input type="text" class="form-control"&gt;
        &lt;/div&gt;&lt;!-- /input-group --&gt;
     &lt;/div&gt;
          
   
        &lt;div class="col-sm-2"&gt;&lt;label&gt;Tel.&lt;/label&gt;&lt;input class="form-control" placeholder="Tel." type="text"&gt;&lt;/div&gt;
        &lt;div class="col-sm-2"&gt;&lt;label&gt;E-mail&lt;/label&gt;&lt;input class="form-control" placeholder="E-mail" type="text"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;br&gt;&lt;br&gt;&lt;br&gt;
      
      &lt;div class="form-group"&gt;
        &lt;div class="col-sm-6"&gt;
          &lt;button type="submit" class="btn btn-info pull-right"&gt;Submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/form&gt;
    &lt;hr&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>thankful for help.</p>