Click here to Skip to main content
15,889,900 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Iam Using Jquery mobile 1.3.2 .

I need to increase the height and width of checkbox

Is it possible to increase height and width??

If Yes HOW???

Killing more time for me.


Please help me..
Posted
Updated 6-Feb-14 6:43am
v2
Comments
Sergey Alexandrovich Kryukov 6-Feb-14 12:44pm    
The size is defined by its text and font...
—SA
nandakishoreroyal 6-Feb-14 12:51pm    
I have given but there is no change.

Please send me the code
Sergey Alexandrovich Kryukov 6-Feb-14 13:01pm    
No, thank you. If you don't know how to write such simple code, chances are, sending you code will be just a waste of time.
—SA
nandakishoreroyal 6-Feb-14 14:12pm    
I have tried both by increasing height and font-size.. but checkbox height is not increasing
Sergey Alexandrovich Kryukov 7-Feb-14 11:20am    
Oh, you need to change the box size, too? Right... This is resolved by showing a check box as some image.
—SA

1 solution

Here is the idea how to make a custom browser-independent check box control.
Create a set of images and store on the server, one per state: checked, unchecked, disabled (disabled checked), can add more state to show indeterminate states. Use <img src"..."> to show the image in your control. Handle click and space key press to go from state to state, enable/disable operation. In response, change the image of the img element accordingly.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900