radiobutton size


I have a control of type RadioButton.

How do I make the radiobuttons larger?

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Obadiah ChristopherCommented:
I'm not sure of this, but tryrb1.styles.Add("font-size","12");
skbohlerAuthor Commented:
I want to change the size of the buttons, not the size of the text.
You can't really make the buttons bigger.  Every browser will render it differently... some browsers will make the buttons bigger... some wont.  The only real solution is to use image replacements... which is no easy task.  Fortunately someone has already done and bundled it up in a jQuery plugin:

You will need to get in there and edit the CSS sprite and the style definitions.  If you need any help, let us know.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

skbohlerAuthor Commented:
Hummm... I'm in a bit over my head here. Don't know anything about jquery

How do I call jquery from within code in a .aspx.vb page?
Well, hopefully you have some experience with styling, css sprites, and a little bit of javascripting.  So you need to include jQuery in the HEAD of your document.  Use this line of code.  It's hosted by google, but it's better to let them host it:

<script src="//" type="text/javascript"></script>

Open in new window

Then, you need to download the uniform plugin.  Extract the files so that the files are in your project: there is a CSS file, a javascript file, and some images.  I suggest unzipping the plugin to a directory like this:


So that your folder structure would look like this after unzipping:


Then put this in the HEAD of your document AFTER the jQuery inclusion:

<script src="jquery.uniform.js" type="text/javascript"></script>
<link rel="stylesheet" href="uniform.default.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript">

Open in new window

Then, here comes the tricky part.  If you want to make the radio button bigger, you will need to edit the sprite.png image.  You will have to move things around and add your own graphics.  After that, you will need to edit the CSS styles and update the background-position for the radio button styles.

Before all of this, I suggest you take a crash course in jQuery as well as CSS sprites.  hope that helps.  Like I said in my last post, this is no easy task.  If you have a friend who is good with CSS, you should call her.  It would be worth $50 to have this done by someone with a little more experience.  Cheers.
Sorry, I didn't update the file paths for the uniform plugin.  Try doing this instead:

<script src="/scripts/uniform/jquery.uniform.js" type="text/javascript"></script>
<link rel="stylesheet" href="/scripts/uniform/css/uniform.default.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript">

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.