Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8803315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:18:34+00:00 2026-06-14T01:18:34+00:00

I am trying to get a Text-Input with a Postfix Button in my Top-Bar

  • 0

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:
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:18:35+00:00Added an answer on June 14, 2026 at 1:18 am

    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.

     <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="has-dropdown">
                       <a href="#">Search</a>
                           <ul class="dropdown">
                               <li class="search">
                                    <form>
                                      <input type="search">
                                      <button type="submit" class="secondary radius button">Search</button>
                                    </form>
                               </li>
                           </ul>
                    </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>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get a input text area and a submit button attached
I have this input text and input button, I am trying to get them
I am trying to get text input from the keyboard in Java 6. I
I'm trying to get edit text to behave in this way: User can input
I am trying to get the value of the text in the input fields.
I am trying to get an input text field to change a variable I
I am trying to get the value of a text input and check if
I'm new to qt4, and I'm trying to get the input text data. But
I am trying to get a text input field whose value gets sent as
I am trying to get the value of an input text field based on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.