?
Solved

Change Font Size of Checkbox Text

Posted on 2013-06-22
3
Medium Priority
?
554 Views
Last Modified: 2013-06-23
How can I change the size of the text of a checkbox?

 <asp:CheckBoxList ID="CopyGiven" runat="server" RepeatDirection="Horizontal" Font-Size="Large">
      <asp:ListItem Value="Y">Yes</asp:ListItem>
      <asp:ListItem Value="N">No</asp:ListItem>
 </asp:CheckBoxList>

Open in new window


I would like it to be the same same as the other text on the form which is 13px.
0
Comment
Question by:huerita37
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
DOSLover earned 1600 total points
ID: 39268879
Please see a solution suggested in this link. It uses a css to accomplish required size.
http://forums.asp.net/t/1858450.aspx/1
0
 
LVL 11

Assisted Solution

by:lenordiste
lenordiste earned 400 total points
ID: 39269156
use CSS !

specify the CSS class for your checkboxlist:
<asp:CheckBoxList ID="CopyGiven" runat="server" RepeatDirection="Horizontal" CssClass="myCheckBox">

Open in new window


then simply add this style to your aspx:
<style>
.myCheckBox td 
{
    font-size:13px;
}
</style>

Open in new window

0
 

Author Comment

by:huerita37
ID: 39269264
Thank you for a quick response.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question