title: Bootstrap center align a dropdown menu
body: <p>I have a dropdown button in the center of my page, but when I click the dropdown, the actual dropdown part is still on the left side of the page. What's the issue?</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-md-12 school-options-dropdown"&gt;
              &lt;div class="dropdown"&gt;
                &lt;button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown"&gt;Choose a School
                &lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
                &lt;ul class="dropdown-menu"&gt;
                    &lt;li&gt;&lt;a href="#"&gt;Add your school&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a href="#"&gt;Hello&lt;/a&gt;&lt;/li&gt;
                &lt;/ul&gt;
              &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>div.school-options-dropdown {
      text-align: center;
  }
  
  .dropdown {
      text-align:center;
  }
  
  .dropdown-menu {
      text-align: center;
  }
  </code></pre>