I am trying to get a Text-Input with a Postfix Button in my Top-Bar using Zurb-Foundation as explained here: http://foundation.zurb.com/docs/navigation.php#btopCode
However, using the following code the button always ends up below the input:
<nav class="top-bar">
<ul>
<li class="name"><h1>Home</h1></li>
<li class="toggle-topbar"><a href="#"></a></li>
</ul>
<section>
<ul class="left">
<li class="search">
<form class="collapse">
<input type="text">
<button type="submit" class="secondary radius button">Search</button>
</form>
</li>
<li class="has-dropdown">
<a href="#">Item1</a>
<ul class="dropdown">
<li><a href="#">Sub1</a></li>
<li><a href="#">Sub2</a></li>
<li><a href="#">Sub3</a></li>
</ul>
</li>
</ul>
</section>
</nav>
like this:

Try placing the form inside of a drop down. I don’t think it will work directly on the nav bar it self. This is not documented well on the site and could use some improvement.