title: text-center and text-right not working in bootstrap
body: <p>I want some elements on my page to align to the center and right, but the bootstrap classes 'text-right' and 'text-center' don't seem to work, even though 'text-left' does.</p>
  
  <p>Thanks.</p>
  
  <pre><code>&lt;div class="container-fluid"&gt;
      &lt;div class="row text-center" id="header"&gt;
          &lt;div class="col-xs-12"&gt;
              &lt;div class="container" style="padding-left:30px; padding-right:30px;"&gt;
                  &lt;div class="col-xs-2 text-left" id="mainLogo"&gt;
                      &lt;a href="/"&gt;&lt;img src="/stylesheet/main_logo.png" &gt;&lt;/a&gt;
                  &lt;/div&gt;
  
                  &lt;div class="col-xs-6 text-right"&gt;
                      &lt;ul class="nav nav-pills"&gt;
                          &lt;li role="presentation" class="dropdown"&gt;
                              &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"&gt;
                                  &lt;span class="glyphicon glyphicon-user"&gt;&lt;/span&gt; Account &lt;span class="caret"&gt;&lt;/span&gt;
                              &lt;/a&gt;
                              &lt;ul class="dropdown-menu" role="menu"&gt;
                                  &lt;li id="ctl00"&gt;
                                      &lt;a href="/account/"&gt;Your Account&lt;/a&gt;
                                  &lt;/li&gt;
                                  &lt;li id="user"&gt;
                                      &lt;a href="/profile/"&gt;Profile&lt;/a&gt;
                                  &lt;/li&gt;
                                  &lt;li id="panel"&gt;
                                      &lt;a href="/shop/reviewbasket/"&gt;Basket&lt;/a&gt;
                                  &lt;/li&gt;
                              &lt;/ul&gt;
                          &lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
  
                  &lt;div class="col-xs-4 text-right"&gt;
                      &lt;div id="search"&gt;
                   &lt;/div&gt;     
                  &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>