...

View Full Version : how to make checkbox label bold from js



Saurabh_bak
07-30-2004, 08:13 AM
I need to make a checkbox label bold from inside a js.

Can anyone suggest a solution

Exodious
07-30-2004, 06:42 PM
If you mean the check inside the checkbox then I do not think it is possible...

You could however, write an editable div which has an image for the background, then when the user clicks on it use the action to trigger the check or not, then you could have any background or colors you want...

sad69
07-30-2004, 07:01 PM
Do you mean bold the label for a checkbox? Just wrap it in <b>label_text</b>:


<label for="cbox"><input type="checkbox" name="cbox" id="cbox"><b>lala</b></label>


Sadiq.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum