title: need help to center my navbar links, since adding searchbar on the right side. anyone?
body: <p>i had my links nicely in the center under my logo
  now i added a searchbar and flaoted it at the right side cause i want it there 
  only problem i got now is that i cant get my links centered anymore :-/
  anyone knows a solution so i can still center my navbar links ?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>                           /*Topnav*/
  .topnav { 
      width: 100%; 
      opacity: 1;
      background-color: rgba(255,255,255,0.6);
      margin-bottom: 10px; 
      padding: 5px 0px 5px 0; 
   border-bottom: dotted #66A761;
   border-top: dotted #66A761;
  }
  
  .topnav ul {
      text-align: center;
  }
  
  .topnav ul li {
      display: inline; 
      margin-left: 15px; 
  }
  
  .topnav a {
      font-size: 20px; 
      font-weight: bold; 
      text-decoration: none;
  }
  
  .topnav a:visited {
      color: #FFF;
  }
  
  .topnav a:link {
      color :#9F257D;
  }
  
  .topnav a:hover {
      color: #66A761;
  }
  
  .topnav input {
   float: right;
   padding: 3px;
   margin: 0 5px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>                           &lt;!--Topnav--&gt;
  &lt;div class="topnav"&gt;
   &lt;nav&gt;
   &lt;ul&gt;
    &lt;li&gt;&lt;a href="aboutblank.html"&gt;recepten&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="aboutblank.html"&gt;varianten&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="aboutblank.html"&gt;contact&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="aboutblank.html"&gt;over ons&lt;/a&gt;&lt;/li&gt;
          &lt;input type="text" placeholder="Search.."&gt;
   &lt;/ul&gt;
   &lt;/nav&gt;
  &lt;/div&gt;
   </code></pre>
  </div>
  </div>
  </p>