title: navbar-right contents side by side
body: <p>I've a top fixed bootstrap navbar, where on left there is a brand and on right side there is a combo-box and a navbar form.But the problem is that the right contents are overflowing on top of each other. I want them right next to each other.Combo-box should come first and then the form.
  Here is the screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/4UD4w.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4UD4w.jpg" alt="enter image description here"></a></p>
  
  <p>And here is the coding:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;nav class="navbar navbar-inverse navbar-fixed-top"&gt;
          &lt;div class="container"&gt;
              &lt;div class="navbar-header"&gt;
                  &lt;a class="navbar-brand" href="#"&gt;
                      &lt;img alt="Brand" src="img/nice.png" width="100" height="100"&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
              &lt;div class="links navbar-right"&gt;
                  &lt;!-- Split button --&gt;
                  &lt;div class="btn-group"&gt;
                  &lt;button type="button" class="btn btn-default"&gt;Action&lt;/button&gt;
                  &lt;button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;
                  &lt;span class="caret"&gt;&lt;/span&gt;
                  &lt;span class="sr-only"&gt;Toggle Dropdown&lt;/span&gt;
                  &lt;/button&gt;
                  &lt;ul class="dropdown-menu"&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
                      &lt;li role="separator" class="divider"&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="#"&gt;Separated link&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
                  &lt;/div&gt;
                  &lt;form class="navbar-form" role="search"&gt;
                      &lt;div class="input-group"&gt;
                          &lt;input type="text" class="form-control" placeholder="Search for..."&gt;
                          &lt;span class="input-group-btn"&gt;
                          &lt;button class="btn btn-default" type="button"&gt;Go!&lt;/button&gt;
                          &lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/form&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/nav&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.navbar-header .navbar-brand {
      float: left;
      height: 50px;
      padding: 10px 15px;
      font-size: 18px;
      line-height: 20px;
  }
  </code></pre>
  
  <p>Thank you in advance! </p>