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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:00:30+00:00 2026-06-08T22:00:30+00:00

I have 2 jQuery mobile buttons inside a fieldset and would like to change

  • 0

I have 2 jQuery mobile buttons inside a fieldset and would like to change the font-size of one of the buttons. I have tried adding an inline style but that did not work.

I have also tried this but that did not work as-well:

.myButton
{
   word-wrap: break-word !important;
   white-space: normal !important;
}

This is what is happening: (only on the iPhone)

enter image description here

Because the screen size of the iPhone, the “Request Change” button is being cut-off.

Is there a way for me to change the font-size of the button text so that it shows the complete text without getting cut-off?

HTML:

<fieldset class="ui-grid-a">
    <div class="ui-block-a">
        <input data-mini="true" type="submit" value="Cancel"  name="Submitbutton" class="button button-link"/>
    </div>
    <div class="ui-block-b">
        <input data-mini="true" data-theme="b" type="submit" value="Request Change" name="Submitbutton" class="button button-link" /> 
    </div>
</fieldset>

I have tried:

  • jquery mobile button text auto line break
  • Change font size of a jQuery Mobile button at runtime
  • 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-08T22:00:31+00:00Added an answer on June 8, 2026 at 10:00 pm

    Play with the following to find what’s best on the iPhone screen

    ​

    .ui-btn-inner{
        text-overflow: initial; /* Get rid of the ellipsis */
        padding-left: 5px; /* Play with padding to make max use of available button width */
    }
    .ui-btn-text {
        font-size: 15px; /* Play with font size of the text */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use widgets from jQuery Mobile - buttons, drop down list,
I have a list view in jQuery Mobile with delete buttons in them. <ul
I have a code in jquery mobile that will add buttons dynamically in a
I have found documentation on using custom icons for jQuery mobile buttons and how
Using HTML5 and jQuery Mobile I have a page with 3 buttons. What I
Is there any way with jQuery-Mobile to change the language of the buttons displayed
I have a Jquery Mobile controlgroup with two buttons: <div data-role=controlgroup data-type=horizontal class=headerMenu iconposSwitcher>
Does the jQuery Mobile framework have a way of centering elements, specifically buttons? It
I'm using Jquery mobile framework. I have 2 html files which has two buttons
Is it possible to have multiple split buttons in a jQuery mobile list? I've

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.