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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:06:22+00:00 2026-06-06T20:06:22+00:00

I have implenmented drop-down lists Select menus in jQuery Mobile. <div data-role=fieldcontain> <label for=name

  • 0

I have implenmented drop-down lists “Select menus” in jQuery Mobile.

    <div data-role="fieldcontain">
          <label for="name" class="select ui-select" style ="vertical-align:baseline; width:33%; " ><b>Application:</b></label>
          <select name="select_choice" data-theme="c" class="ui-btn ui-btn-icon-right ui-btn-corner-all ui-shadow ui-btn-hover-c" id="editWSAppType" >

          <option value="EmptyOption">"  "</option> <!--EMPTY OPTION-->
          <option value="Other">Other</option>
          <option value="Other2">Other2</option>
          <option value="Other3">Other 3</option>


          </select>
    </div>

ALL THE OPTIONS ARE SHOWN IN DROP DOWN LIST but there is an issue of alignment of label.

I have used vertical-align:baseline for now. And I tried other alignment attributes also.

But in case of EMPTY OPTION the position of label is changed to down when compared to the other options.

So many select menus in my application are having the same problem.

Some select menus doen’t have any opstrong texttions these are also having the same issue.

<div data-role="fieldcontain">
      <label for="name" class="select ui-select" style ="vertical-align:baseline; width:33%; " ><b>Application:</b></label>
      <select name="select_choice" data-theme="c" class="ui-btn ui-btn-icon-right ui-btn-corner-all ui-shadow ui-btn-hover-c" id="editWSAppType" >
           <!--NO OPTIONS-->
      </select>
</div>

enter image description here

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-06T20:06:24+00:00Added an answer on June 6, 2026 at 8:06 pm

    In the for attribute of your label you should put in the the id of your select (you currently have "name")

    <div data-role="fieldcontain">
              <label for="editWSAppType" class="select ui-select"  ><b>Application:</b></label>
              <select  name="select_choice" data-theme="c" class="ui-btn ui-btn-icon-right ui-btn-corner-all ui-shadow ui-btn-hover-c" id="editWSAppType" >
    
              <option value="EmptyOption"></option> <!--EMPTY OPTION-->
              <option value="Other">Other</option>
              <option value="Other2">Other2</option>
              <option value="Other3">Other 3</option>
    
    
              </select>
        </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form which has a drop down list for countries. If the
I have a site w/ an image gallery (Portfolio) page. There is drop-down navigation
I've built a Quick Links drop-down select box for my Drupal-based web app. The
I have implemented my own drop down menu and wanted to clarify the accessibility
I have a web form that I am attempting to implement dynamic drop down
I am developing an asp web page in which I have a drop down
I have implemented the JQuery Drag and Drop plug in into my web site.
I have implemented pagination using the will_paginate plugin. I want have a drop down
I'm using JQgrid, with a select/dropdown in my project, and have implemented it in
I have implemented pagination to my data, but the problem is I only have

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.