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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:23:42+00:00 2026-06-06T19:23:42+00:00

How do I lineup up form controls like select boxes and others in a

  • 0

How do I lineup up form controls like select boxes and others in a line in jquery vs having them displayed vertically?

<label for="select-choice-0" class="select">Shipping method:</label>
<select name="select-choice-0" id="select-choice-1">
   <option value="standard">Standard: 7 day</option>
   <option value="rush">Rush: 3 days</option>
   <option value="express">Express: next day</option>
   <option value="overnight">Overnight</option>
</select>
<label for="select-choice-2" class="select">Shipping method:</label>
<select name="select-choice-2" id="select-choice-2">
   <option value="standard">Standard: 7 day</option>
   <option value="rush">Rush: 3 days</option>
   <option value="express">Express: next day</option>
   <option value="overnight">Overnight</option>
</select>

I don’t want them in the same fieldset with data-type=”horizontal”. Thanks

  • 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-06T19:23:43+00:00Added an answer on June 6, 2026 at 7:23 pm

    Alternative Example using CSS and data-inline=”true” tag

    • http://jsfiddle.net/CFXxt/

    CSS

    #inline-select-container {
        overflow:auto;
    }
    #inline-select-left {
        float:left;
    }
    
    #inline-select-right {
         float:right;
    }
    ​
    

    HTML

    <div data-role="page" class="type-home">
        <div data-role="content">
    
            <div id="inline-select-container">
    
                <div id="inline-select-left">    
                    <select name="select-choice-0" id="select-choice-1" data-inline="true">
                       <option >Shipping method</option>
                       <option value="standard">Standard: 7 day</option>
                       <option value="rush">Rush: 3 days</option>
                       <option value="express">Express: next day</option>
                       <option value="overnight">Overnight</option>
                    </select>
                </div>
    
                <div id="inline-select-right">
                    <select name="select-choice-2" id="select-choice-2" data-inline="true">
                       <option >Shipping method</option>
                       <option value="standard">Standard: 7 day</option>
                       <option value="rush">Rush: 3 days</option>
                       <option value="express">Express: next day</option>
                       <option value="overnight">Overnight</option>
                    </select>
                </div>       
    
            </div>  
    
            <br />
            <br />
    
            <div id="inline-select-container">
    
                <div id="inline-select-left">    
                    <label for="select-choice-0" class="select">Shipping method:</label>
                    <select name="select-choice-0" id="select-choice-1" data-inline="true">
                       <option value="standard">Standard: 7 day</option>
                       <option value="rush">Rush: 3 days</option>
                       <option value="express">Express: next day</option>
                       <option value="overnight">Overnight</option>
                    </select>
                </div>
    
                <div id="inline-select-right">
                    <label for="select-choice-2" class="select">Shipping method:</label>
                    <select name="select-choice-2" id="select-choice-2" data-inline="true">
                       <option value="standard">Standard: 7 day</option>
                       <option value="rush">Rush: 3 days</option>
                       <option value="express">Express: next day</option>
                       <option value="overnight">Overnight</option>
                    </select>
                </div>       
    
            </div>          
        </div>
    </div>​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make an asterisk line up vertically with surrounding text/graphics rather than
I have been adding icons to my mobile control Line Item controls and haven't
I want this form band button to line up horizontally and to sit as
I have a simple form... <label>name</label><input type=text id=name> <label>email address</label><input type=text id=email> Here is
We like using jQuery templates with SVG for example to show a Product with
I'm trying to learn how to line up fields of a form using CSS
Here's an excerpt from a fairly standard Rails form: <p> <%= f.label :from_station %>
I have piece and lineup joined by piece_lineup piece_lineup is a has many through
I have Lineup and Piece models joined by piece_lineup model (has many through). I
Bottom Line Up Front I'm looking for a method to validate powershell (v1) command

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.