title: How can I center align button inside the dropdown menu?
body: <p>I have created a dropdown menu. Inside this menu is a button for signing in. But I am not able to center align it. </p>
  
  <p><a href="https://i.stack.imgur.com/2O3uk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2O3uk.jpg" alt="enter image description here"></a></p>
  
  <pre><code>&lt;ul class="nav navbar-nav navbar-right"&gt;
    &lt;li class="dropdown text-center"&gt;
      &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt;Login &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
      &lt;ul class="dropdown-menu"&gt;
        &lt;li&gt;
          &lt;button class="btn btn-info"&gt;&lt;div class="dropdown-item"  style="width:100px; text-align:center; left:50% margin-left:50px;"&gt;Sign In&lt;/div&gt;&lt;/button&gt;
          &lt;h6 class="dropdown-header"&gt;New User? &lt;a href="#"&gt;Sign up&lt;/a&gt;&lt;/h6&gt;
        &lt;/li&gt;
        &lt;li class="divider"&gt;&lt;/li&gt;
        &lt;li&gt;
          &lt;a href="#"&gt;&lt;div class="dropdown-item"&gt;ABCDE&lt;/div&gt;&lt;/a&gt;
          &lt;a href="#"&gt;&lt;div class="dropdown-item"&gt;UVWXYZ&lt;/div&gt;&lt;/a&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>