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

  • Home
  • SEARCH
  • 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 8298813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:55:14+00:00 2026-06-08T15:55:14+00:00

I am using jquery.mobile-1.1.0 for a PhoneGap application. I am getting issue in button

  • 0

I am using jquery.mobile-1.1.0 for a PhoneGap application. I am getting issue in button css. Jquery has its own button styling but I don’t want to use that and want have my own button css. I am also using few jQuery components like tabs, form-search that use jQuery-mobile css so I have to include it in my application.

Here is my html code:

    <div data-role="content">
    <div class="signup">
    <form action="#" id="loginForm">
    <fieldset>
    <ul>
    <li class="first">
    <label><span>Email*</span></label>
    <input name="loginemail" type="text" id="loginemail" class="input" placeholder="Enter Full Name"  />
    </li>

    <li>
    <label><span>Password*</span></label>
    <input name="loginpassword" id="loginpassword" type="text" class="input" placeholder="Pick A Password" />
    </li>

    <li>
    <input name="" type="submit" id="loginSubmit" class="button" value="Login"   />
    </li>
    </ul>

    </fieldset>
    </form>
    </div> <!-- signup- div -->
    </div><!-- - content -->
    </div> <!-- end login page -->

Source while doing inspect element in Firebug jQuery creates an outer layer against that button that eventually disturb my whole button css.

    <li><div aria-disabled="false" class="ui-btn ui-shadow ui-btn-corner-all 
    ui-fullsize ui-btn-block ui-btn-up-c" data-mini="false" data-inline="false" 
    data-theme="c" data-iconpos="" data-icon="" data-wrapperels="span"   
    data-iconshadow="true" data-shadow="true" data-corners="true">
    <span class="ui-btn-inner ui-btn-corner-all">
    <span class="ui-btn-text">Login</span>
    </span>
    <input aria-disabled="false" name="" id="loginSubmit" 
    class="button ui-btn-hidden" value="Login" type="submit"></div></li>

Here is my customized button class for css

  .button{ width:100% !important; height:69px !important; 
    float:left !important;
    font-size:24px !important;
    font-family:"MyriadPro-BoldCond_0",Arial, Helvetica, sans-serif !important; 
    color:#FFFFFF !important; text-align:center; 
    background:#ca2c00 !important; border:none !important; 
    background:-moz-linear-gradient(#ca2c00, #7a1a00) !important;
    background: -webkit-gradient(linear, left top, left bottom, from(#ca2c00), to(#7a1a00)) !important; 
   -pie-background: linear-gradient(#ca2c00, #7a1a00) !important;
    background: -o-linear-gradient(#ca2c00, #7a1a00) !important; 
   -moz-border-radius:0 0 7px 7px !important;
  -webkit-border-radius:0 0 7px 7px !important; 
   border-radius:0 0 7px 7px !important; behavior: url(PIE.htc) !important;   
   position:relative !important;
   cursor:pointer !important;} 

Please help. How can I stop jQuery from creating an outer shell around the button and allow it to pick my customized css. 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-08T15:55:15+00:00Added an answer on June 8, 2026 at 3:55 pm

    In jquery mobile ,Input-based buttons and button elements are auto-enhanced, no data-role required. So you have two options to overcome this issue.

    1. Edit the jquery mobile theme, or rather create a customized theme using Theme Roller. You can find the themeroller tool here.

    2. Second option is to set data-role of the input button to none. Ex <input type=”button” data-role=”none” id=”btnId” class=”button”>.

    Hope it helped you.

    — MEJO

    • 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 a mobile application using jQuery Mobile and Phonegap. But first
So here's my problem. I'm currently working on a PhoneGap application using jQuery Mobile
I am developing an application using jQuery mobile 1.1.0 RC1 and phonegap 1.5.0 I
We are constructing a mobile web application using PhoneGap and JQuery mobile. Here is
I have an application made by using phonegap 1.5.0 and jquery mobile 1.1.0.... I
I am creating an app using jQuery Mobile and PhoneGap. I delegate a button
I'm using PhoneGap and JQuery Mobile. I'm trying to use custom button icons. I
Created a phonegap application using jQuery Mobile. Everything is working great for the most
I am developing an application using PhoneGap and jQuery Mobile. Now when the page
I'm using jquery mobile in a phonegap application and I'm trying to pass a

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.