vb.net中复选框的检查大小 [英] size of check of a check box in vb.net

查看:103
本文介绍了vb.net中复选框的检查大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能说出是否不仅可以增加复选框文本的字体,还可以增加实际复选框的大小(刻度所在的位置).

任何帮助将不胜感激.

问候,
gopal



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

推荐答案

不确定Winforms还是ASP.NET.

如果是Winforms:
您可以尝试使用自定义CheckBoxStyle .
增加复选框的大小 [
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;
}


更新:
建议的Web分辨率似乎不再适用于IE7/8.如果需要,请查看此讨论,以获取有关Web自定义复选框大小的各种文章:
^ ]


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 ?[^]


这篇关于vb.net中复选框的检查大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆