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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:40:19+00:00 2026-06-09T11:40:19+00:00

This code: <td> <label> <input type=checkbox> </label> </td> yields this: , which is wide.

  • 0

This code:

<td>
    <label>
        <input type="checkbox">
    </label>
</td>

yields this: wide, which is wide. I want only the check-box square part, like the check-boxes in this demo. Writing only <td><input type="checkbox"></td> creates simple check-box (not JQM style), since it’s inside a table.

Does somebody has simple solution ?

  • 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-09T11:40:20+00:00Added an answer on June 9, 2026 at 11:40 am

    first of all you will not be able to customize the by default developed HTML control. what I meant is just taking out the square portion from check box.

    The link you share is doing it with the help of css classes and images.

    Initially.

    <label class="ui-btn ui-btn-icon-left ui-btn-corner-all ui-checkbox-on 
    ui-btn-up-c" data-theme="c" for="selectRow-2">
    <span class="ui-btn-inner ui-btn-corner-all" aria-hidden="true">
    <span class="ui-btn-text">
    </span>
    <span class="ui-icon ui-icon-shadow ui-icon-checkbox-on">
    </span>
    </span>
    </label>
    

    Later on when you click the square with help of java-script they have just swapped classes.

    <label class="ui-btn ui-btn-icon-left ui-btn-corner-all ui-checkbox-off ui-btn-up-d" 
    data-theme="d" for="selectRow-1">
    <span class="ui-btn-inner ui-btn-corner-all" aria-hidden="true">
    <span class="ui-btn-text">
    </span>
    <span class="ui-icon ui-icon-shadow ui-icon-checkbox-off">
    </span>
    </span>
    </label> 
    

    The easiest way would be using some thing similar in your layout and swapping the classes with JS.

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

Sidebar

Related Questions

Can somebody help me with this. There is HTML code: <h3> <label> <input type=checkbox
Hi i have this html code: <input type=checkbox id=button2> <label for=button2>something here</label> So the
For this HTML <label id=nameWrapper><input type=checkbox name=name />guest</label> What's the shortest javascript code to
I have the following part of my form: <input type=checkbox class=hide id=additional-webinar name=additional-webinar-check value=additional-webinar-box>
Here's some example code: <input type=checkbox id=send-notice name=send-notice value=1 /> This is a notice
I have html like this: <div> <input type=checkbox id=checkbox, checked=checked/> <label for=checkbox>Copy values</label> </div>
I'm searching for a jQuery plugin that does this. for example: <label><input type=checkbox depends_on=foo=5
I have some code <input type=checkbox id=chk value=value /> <label for=chk>Value </label> <br/> <input
I'm using labels for my form, like this : <label for=foo id=bar>Label</label> <input type=checkbox
I'm using this code: $('fieldset input[type=checkbox]').each(function () {if($(this).attr('checked','checked')){ var switches = $(this).parent().find('.switch'); $(switches).attr('state','on') $(switches).css({'left':52px});

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.