Click here to Skip to main content
16,022,417 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi,

can anybody tell if it is possible to increase not only the font of the text of a check box but also the size of the actual check box(where the tick comes).

any help would b much appreciated.

regards,
gopal
Posted
Comments
Sunasara Imdadhusen 1-Mar-11 5:26am    
Why you want to increase size of Check mark?

1 solution

Not sure if Winforms or ASP.NET.

If Winforms:
You can try using custom CheckBoxStyle.
Increase size of checkbox[^]


If web:
Did you try this using CSS:
<input type="checkbox" class="biggerCheckbox" name="checkBox">


CSS:
CSS
input.biggerCheckbox
{
   width: 50px;
   height: 50px;
}

UPDATE:
Web resolution suggested looks like no more working with IE7/8.. In case needed, have a look at this discussion leading to various articles on web customizing the checkbox size: Increase size of checkbox in asp.net ?[^]
 
Share this answer
 
v2
Comments
Ankur\m/ 1-Mar-11 5:52am    
5
Ankur\m/ 1-Mar-11 5:57am    
Hey I just tested the web thing and it's not working, I mean the size of the actual tick box doesn't increase.
Sandeep Mewara 1-Mar-11 6:02am    
I too was checking that itself (probably it was old IE thingy). Marked question as good from web prospective.

It would need certain customization. There are few articles on web, here at CP too.
Ankur\m/ 1-Mar-11 6:05am    
No it's not just IE (8, 7), it doesn't work in FF as well.

It would need certain customization. There are few articles on web, here at CP too.
Please update the answer.
Sandeep Mewara 1-Mar-11 6:07am    
done dude! :)

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