title: Make checkbox, select and input fields inline
body: <p>I am trying to make a search bar where a green div would be in the middle of the grey one(see <a href="http://codepen.io/anon/pen/LRBEvq?editors=1100" rel="nofollow">http://codepen.io/anon/pen/LRBEvq?editors=1100</a>), and checkboxes, select drop menu, and input field all inline with two buttons - so everything in the same row. I am using Bootstrap to make it responsive but got stuck and can't figure it out.. thank you for all the help!</p>
  
  <p>Here's my html:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.main {
    background-color: grey;
    width: 1202px;
    height: 156px;
    margin: 0 auto;
  }
  .formContainer {
    width: 1140px;
    height: 85px;
    background-color: green;
  }
  button {
    height: 37px;
    width: 160px;
  }
  .choice {
    background-color: lightgrey;
    height: 37px;
  }
  .checkbox {
    width: 207px;
    border: 1px solid white;
  }
  .choice-select {
    width: 173px;
  }
  .choice-input {
    width: 390px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&gt;
  
  &lt;body&gt;
    &lt;div class="container"&gt;
      &lt;div class="main"&gt;
        &lt;div class="formContainer"&gt;
          &lt;div class="col-md-12"&gt;Lorem lorem lorem
            &lt;div class="pull-right"&gt;Ipsum lorem ipsum&lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="row mainContent"&gt;
            &lt;!-- mainContent --&gt;
            &lt;div class="col-md-7"&gt;
              &lt;!-- main content --&gt;
  
              &lt;div class="checkbox"&gt;
                &lt;span class="choice-details"&gt;
                   &lt;label class="checkbox-inline"&gt;
                     &lt;input type="checkbox" value="" checked&gt;Lorem
                   &lt;/label&gt;
                   &lt;label class="checkbox-inline"&gt;
                     &lt;input type="checkbox" value=""&gt;Ipsum
                   &lt;/label&gt;
                 &lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="choice-select"&gt;
                &lt;select class="form-control"&gt;
                  &lt;option value="one"&gt;One&lt;/option&gt;
                  &lt;option value="two"&gt;Two&lt;/option&gt;
                  &lt;option value="three"&gt;Three&lt;/option&gt;
                  &lt;option value="four"&gt;Four&lt;/option&gt;
                  &lt;option value="five"&gt;Five&lt;/option&gt;
                &lt;/select&gt;
              &lt;/div&gt;
              &lt;div class="choice-input"&gt;
                &lt;input type="text" placeholder="Placeholder text"&gt;
              &lt;/div&gt;
  
            &lt;/div&gt;
            &lt;div class="col-md-5"&gt;
              &lt;button&gt;Lorem ipsum lorem&lt;/button&gt;
              &lt;button&gt;Lorem lorem lorem&lt;/button&gt;
            &lt;/div&gt;
            &lt;!-- end main content --&gt;
          &lt;/div&gt;
          &lt;!-- end mainContent --&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>