title: Bootstrap, Table, Centering Button
body: <p>I have a table, within which I want to put a drop-down button.  I cannot center the button, and I have tried many things.  Is there a way to do this?</p>
  
  <pre><code>&lt;table class = "table table-hover table-condensed"&gt;
  &lt;tr&gt;
    &lt;th class = "text-center"&gt;
      Test
    &lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;div class="col-md-3 text-left"&gt;
        &lt;div class="button-group"&gt;
          &lt;button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"&gt;&lt;span class="glyphicon glyphicon-cog"&gt;&lt;/span&gt; &lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
            &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;&lt;a href="#" class="small" data-value="Option1" tabIndex="-1"&gt;&lt;input type="checkbox"/&gt;&amp;nbsp;Option1&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#" class="small" data-value="Option2" tabIndex="-1"&gt;&lt;input type="checkbox"/&gt;&amp;nbsp;Option2&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>