title: How to inline input and button inside table cell in Bootstrap 3?
body: <p>I have been trying to figure out how I can get input field and a button on the same line inside a table cell without stretching the column too much.</p>
  <p>This is what I want to be inline:</p>
  <pre><code>&lt;td&gt;
     &lt;input type=&quot;text&quot; class=&quot;input-sm form-control&quot;id=&quot;measured_value&quot; name=&quot;measured_value&quot; placeholder=&quot;Measured value&quot;&gt;
     &lt;button type=&quot;button&quot; class=&quot;btn btn-xs btn-primary&quot; onclick=&quot;add_measurement();&quot;&gt;Submit&lt;/button&gt;
  &lt;/td&gt;
  </code></pre>
  <p>This is what I get:</p>
  <p><a href="https://i.stack.imgur.com/Ogn3q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ogn3q.png" alt="screenshot" /></a></p>
  
  <p>I have also tried using divs with col-lg-8 and col-lg-4 it did inline them but that in turn stretched the column a lot. It made the column like 1.5 times wider and I am trying to make the table compact.</p>