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 6157203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:44:42+00:00 2026-05-23T20:44:42+00:00

As per a previous question I’ve run into a bit of a bug laying

  • 0

As per a previous question I’ve run into a bit of a bug laying out some horizontal buttons. Failry certain it has to do with my lack of knowledge on javascript or buttons.

Basically I have list of buttons on a top Nav bar that are supposed to be inline but seem to stack.

Each button simple takes a frame to a different page (yes I’m aware frames are evil but this project needs to render external pages and It suits this purpose http://webdesign.about.com/od/framesprosandcons/a/aaframesyuck.htm)

Anyways. Heres what it looked like when the links were just links and not buttons.

http://s1180.photobucket.com/albums/x406/0vertone/?action=view&current=linkcorrect.jpg

And here is the bugged out version:

http://s1180.photobucket.com/albums/x406/0vertone/?action=view&current=buttonBug.jpg

code for these links as buttons is as follows:

HTML

        <ul class = "links">
            <li>
                <!--<a href="http://www.google.ie" target ="content">Test</a>-->
                <form method="link" action="http://www.google.ie" target = "content">
                    <input type="submit" value="google">
                </form>

                |
            </li>
            <li>
                <!--<a href="dashboard.html.erb" target ="content">Dash</a> |-->
                <form method="link" action="http://www.google.ie" target = "content">
                    <input type="submit" value="google">
                </form>

                |
            </li>
            <li>
                <!--<a href="pageview.html.erb" target ="content">Page</a> |-->
                <form method="link" action="http://www.google.ie" target = "content">
                    <input type="submit" value="google">
                </form>

                |
            </li>
            <li>
                <!--<a href="listview.html.erb" target ="content">List</a>-->
                <form method="link" action="http://www.google.ie" target = "content">
                    <input type="submit" value="google">
                </form>

                |
            </li>
        </ul>

CSS:

        ul li.prev {
            float:left
        }
        .links {
            margin: 0;
            padding: 0;
            background: #666;
            text-align: right;
        }
        .links li {
            display: inline;
            padding: 0 5px;
        }

Potential solutions would be changing the buttons from javascript to some sort of JQuery UI but Their just simple links. Perhaps theres something missing in my css?

  • 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-05-23T20:44:43+00:00Added an answer on May 23, 2026 at 8:44 pm

    form is a block level element hence every form element appears on a row of its own. If one form has two or more buttons then those button will appear inline as expected. Try:

    form {
    display: inline;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing a table per subclass design I discussed in a previous question .
As per my previous question: Rhino Mocks - Testing Repository layer returns "object reference
So as per a previous question of mine I've decided to start a website
Per an answer to a previous question (answer here: SQL/Database Views in Grails ),
Per my previous question , I wish that a boost::shared_ptr<A> was actually a subclass
As per my previous question , I need to redirect an HTTP POST request
As per a previous question I'm setting up the HMVC extension for codeigniter. https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
Hyper-mega-noob-question, i've been racking my brain over how to add next/ previous buttons to
I'm using HTML nodes for graphviz per my previous question . Why do I
See my previous question . I updated the code as per Kevin P's answer

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.