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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:30:47+00:00 2026-05-26T23:30:47+00:00

Is there a way to resize a button in jQuery, I want the button

  • 0

Is there a way to resize a button in jQuery, I want the button to stretch across 70% of the page, but if I put width="70%" in the buttons tag, it still doesn’t work, can someone please explain how to? Thanks 🙂

This doesn’t work:

<a href="page.html" data-role="button" width="70%">Btn Name</a>
  • 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-26T23:30:48+00:00Added an answer on May 26, 2026 at 11:30 pm

    You can do it with CSS:

    .big_button {
      display: block;
      width: 70%;
    }
    

    You should include the CSS class in your markup:

    <a href="page.html" data-role="button" class="big_button">Btn Name</a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to resize a std::vector to lower capacity when I no
Is there a way to resize an image (Taken from the Camera or UIImagePicker
is there way thats i can preselect an item when the page loads or
I want to put a bar on the bottom of my page containing a
Is there any way to resize an entire Flash project using Actionscript or some
Is there a way to disable the exit button on a windows form without
Is there an easy way to make a parent container (eg Group) resize when
Is there a quick and easy way to resize a UIView after creating it
Is there a way to prevent a NSDrawer from being resized? I've tried setting
Is there way in next piece of code to only get the first record?

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.