title: Bootstrap dropdown-menu - full width and central horizontal items
body: <p>My navbar below has a dropdown-menu which displays a horizontal list of <code>&lt;li&gt;</code> elements</p>
  
  <pre><code>&lt;ul class="dropdown-menu"&gt;
  </code></pre>
  
  <p>How can I ensure that the dropdown-menu acts the same was as the div container class? ie: full width of the screen with the items centralised?</p>
  
  <pre><code>@import 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css';
  
  &lt;nav class="navbar navbar-default"&gt;
    &lt;div class="container"&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="true"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;/button&gt;
        &lt;a class="navbar-left" href="/home/"&gt;&lt;span class="logo"&gt;&lt;/span&gt;&lt;/a&gt;
      &lt;/div&gt;
  
      &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
      &lt;div class="navbar-collapse collapse in" id="bs-example-navbar-collapse-1" aria-expanded="true" style=""&gt;
        &lt;ul class="nav navbar-nav navbar-right"&gt;
  
          &lt;li class=""&gt;
            &lt;a href="/opt1/"&gt;Option 1&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class=""&gt;
            &lt;a href="/opt2/"&gt;Option 2&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class=""&gt;
            &lt;a href="/opt3/"&gt;Option 3&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="dropdown"&gt;&lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;More...&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
            &lt;ul class="dropdown-menu"&gt;
              &lt;li class=""&gt;
                &lt;a href="/drop1/"&gt;Dropdown 1&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class=""&gt;
                &lt;a href="/drop2r/"&gt;Dropdown 2&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class=""&gt;
                &lt;a href="/drop3/"&gt;Dropdown 3&lt;/a&gt;
              &lt;/li&gt;
              &lt;li class=""&gt;
                &lt;a href="/drop4/"&gt;Dropdown 4&lt;/a&gt;
              &lt;/li&gt;
  
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
      &lt;!-- /.navbar-collapse --&gt;
    &lt;/div&gt;
    &lt;!-- /.container --&gt;
  &lt;/nav&gt;
  </code></pre>