/    Sign up×
Community /Pin to ProfileBookmark

Checkbox display size

Is there a tag in HTML or CSS that I can use to change the size of the ‘checkbox’ that is displayed on a site? I would like to make it larger in proportion to the size of the text it is near.

Thanks for any information.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@Major_PayneApr 18.2007 — Is this what you're looking for?

HTML:

<form action="./">

<input type="checkbox" class="largerCheckbox" name="checkBox">

</form>

CSS:

<style type="text/css">

<!--

input.largerCheckbox

{

width: 30px;

height: 30px;

}

//-->

</style>

Change parameters to fit your needs. Additional info:

Checkboxes

<Input> tag

Ron
Copy linkTweet thisAlerts:
@JMRKERauthorApr 18.2007 — That will work just fine for me.

I did not know it would be that easy!

Thank you for the prompt response.
Copy linkTweet thisAlerts:
@Major_PayneApr 28.2007 — Hi:

Hope it worked for you. Been offline for 10 days and just got cable back. Found there was a response to thread. LOL Glad to help.

Ron
×

Success!

Help @JMRKER spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...