title: Keep buttons and form with select dropdown on same row in Bootstrap 3
body: <p>I'm struggling to keep buttons, and a form with a <code>&lt;select&gt;</code> tag (including its label) all on the same row in Bootstrap 3. Whenever the form is rendered, it seems to add a line break before the form. Here's what I have put together so far (<a href="http://www.bootply.com/98022" rel="nofollow noreferrer">http://www.bootply.com/98022</a>):</p>
  
  <pre><code>&lt;div class="container"&gt;
      &lt;div class="row"&gt;
        &lt;button class="btn btn-default"&gt;Test 1&lt;/button&gt;
        &lt;button class="btn btn-default"&gt;Test 2&lt;/button&gt;
        &lt;form role="form" class="form-inline"&gt;      
        &lt;div class="form-group"&gt;
          &lt;label for="selectUser"&gt;Select:&lt;/label&gt;
          &lt;select id="selectUser" class="form-control selectWidth"&gt;
            &lt;option class=""&gt;One&lt;/option&gt;
            &lt;option class=""&gt;Two&lt;/option&gt;
            &lt;option class=""&gt;Three&lt;/option&gt;
          &lt;/select&gt;
        &lt;/div&gt;
        &lt;div class="btn-group"&gt;
          &lt;button class="btn btn-default"&gt;Test 3&lt;/button&gt;
        &lt;/div&gt;
        &lt;/form&gt;
      &lt;/div&gt; &lt;!-- End Row --&gt;
  &lt;/div&gt; &lt;!-- End Container --&gt;
  </code></pre>
  
  <p>I thought that the <code>class="form-inline"</code> would keep it on the same row. Unfortunately, this is how it renders:</p>
  
  <p><img src="https://i.stack.imgur.com/IyukT.png" alt="The form is rendering on a separate line instead of staying on the same line/row"></p>
  
  <p>This is a mock-up I created in an image editing program of what I'd like it to look like:</p>
  
  <p><img src="https://i.stack.imgur.com/JqGT7.png" alt="This is a mock-up of how I&#39;d like the buttons to display"></p>
  
  <p>I have deliberately chosen to use the <code>&lt;select&gt;</code> element instead of Bootstrap dropdowns, as the interface on mobile devices is optimal (the list will be quite large and trying to select the correct option on a small screen is easier with a form <code>&lt;select&gt;</code> element).</p>
  
  <p>I found similar questions, but most either don't address the <code>&lt;select&gt;</code> tag within a form, or are for older versions of Bootstrap (2.x). Any help would be greatly appreciated.</p>
  
  <p>Thanks!</p>