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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:26:58+00:00 2026-05-15T16:26:58+00:00

Please take a look at THIS page. Please feed in some random data and

  • 0

Please take a look at THIS page.

Please feed in some random data and click on the edges of the button to submit.

PROBLEM: I am not able to click the button on the edges.

AIM: I want to extend the click-able portion to all over the button.

I think I have to introduce to it. But I am not sure where and how it has to be done.

The code I use for the button is

<?php echo $form->submit('Submit', array('class' => 'submit_input', 'div' => array('class' => 'stndrd_btn', 'style' => 'margin-top:20px;'))); ?>

Thanks and have a good day

  • 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-15T16:26:58+00:00Added an answer on May 15, 2026 at 4:26 pm

    What library/framework are you using to generate forms? The code you posted doesn’t tell us much about the generated HTML.

    Anyway. If you inspect the DOM with Firebug or something similar, you’ll see that the button element doesn’t cover all the visual space.

    Looking at your CSS (global_style.css), I can see that the width for this button is hardcoded to 131 pixels:

    .submit_input {
        color:#FFF;
        margin:0 auto;
        text-align:center;
        font-size:14px;
        font-weight:bold;
        background:none;
        border:none;
        width:131px;
        height:22px;
        padding-top:6px;
        cursor:pointer;
    }
    

    The element that wraps the actual button (and shows the visual pointer cursor and background image) has a width of 140px and a height of 30px.

    Now, you don’t want to hardcode these values to the button again, you want to set this button to 100% width and height. This might not work if it’s an inline element, so you need to set its display property to block. Replace the .submit_input selector to the following:

    .submit_input {
        color:#FFF;
        margin:0 auto;
        text-align:center;
        font-size:14px;
        font-weight:bold;
        background:none;
        border:none;
        width: 100%;
        height: 100%;
        display: block;
        padding-top:6px;
        cursor:pointer;
    }
    

    That should do it. Cheers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

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.