Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

how to change the font family of checkbox in asp.net.

Thanks...
Posted

1 solution

Hi,

Try this:
ASP
<asp:CheckBox runat="server" ID="checkbox1" Font-Names="Comic Sans MS" Text="Check Box 1" />

Change "Comic Sans MS" into the font family which you need.

Hope this helps.
 
Share this answer
 
Comments
Thomas Daniels 3-Apr-13 6:49am    
For me it's working fine.
hasbina 3-Apr-13 8:10am    
thanks a lots sir....
Thomas Daniels 3-Apr-13 8:11am    
You're welcome!
ravithejag 3-Apr-13 7:08am    
<asp:CheckBox ID="CheckBox1" runat="server" Font-Names="Times New Roman"/> It works for me also

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