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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:31:43+00:00 2026-05-29T07:31:43+00:00

Thou it is simple, I have searched this around the internet and I couldn’t

  • 0

Thou it is simple, I have searched this around the internet and I couldn’t come up with a solution. I believe the solution must be something very simple, but anyways, here’s the problem.

I made a mobile web with jQueryMobile (webView for a native app indeed), and everything seems to be so big. I tried that I can use style=”width:xx” to set the button width, but what about the height? The overall sizes in general.

Like, the header is filling up a quarter of my page.

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-05-29T07:31:45+00:00Added an answer on May 29, 2026 at 7:31 am

    Live Example:

    • http://jsfiddle.net/3EgrW/21/ (Width)
    • http://jsfiddle.net/3EgrW/35/ (Height)

    JS:

    // For all buttons use something like this
    $('.ui-btn').css('width','50%');
    
    // For individual buttons use something like this
    $('#theButton1').parent().css('width', '75%');
    
    // Or this for HREF data-role buttons
    $('#hrefButton4').css('width', '45%');
    

    UPDATE: (I think this is what you’re looking for)

    // this changes the height for all buttons
    $('.ui-btn-text').css('font-size','50px');
    
    // This changes the height for a single element 
    $('#hrefButton3').children().children().css('font-size','30px');
    

    HTML:

    <div data-role="page" id="home"> 
        <div data-role="content">
            <input type="button" id="theButton1" value="Press Me 1" />
            <input type="button" id="theButton2" value="Press Me 2" />
            <input type="button" id="theButton3" value="Press Me 3" />
            <input type="button" id="theButton4" value="Press Me 4" />
            <br />
            <a href="#" data-role="button" id="hrefButton1">HREF Me 1</a>
            <a href="#" data-role="button" id="hrefButton2">HREF Me 2</a>
            <a href="#" data-role="button" id="hrefButton3">HREF Me 3</a>
            <a href="#" data-role="button" id="hrefButton4">HREF Me 4</a>
        </div>
    </div>
    

    Related:

    • resizing a BUTTON through CSS
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this library to hook keys and I have some problems with comparing
Wondering what are the views on this We have a CI server that runs
my problem is a simple one. I have a class template that holds a
I have this problem i cant workaround. I cache data in serialized format in
Python date calculations, where art thou? I have a python app that needs to
Let me first describe the problem. I have this application that opens a word
Let's say I have an web CMS type application, and an EDM model with
This is the source text I want to parse: 1 From fairest creatures we
I have a problem about counting the length of a string. I always get
This is the site i am using as a test site: http://test.pafo.net/ My problem

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.