Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    478
    Thanks
    0
    Thanked 2 Times in 2 Posts

    How Make Checkbox Color Red?

    How can I make one particular checkbox's checkmark be red?

    1) I tried this but the checkmark is still black:
    <input style="color:red" type="checkbox" name="DoNotUse" "checked" value="Yes">

    2) And I tried this but the checkmark is still black:
    <font color="red">
    Hello there
    <input type="checkbox" name="DoNotUse" "checked" value="Yes">
    </font>

    And interestingly in #2 above the words "Hello there" DO show up as red but not the checkmark in the checkbox field.

    Thanks in advance!
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,518
    Thanks
    3
    Thanked 506 Times in 493 Posts
    the tick in a check box is not text

    nearest you can get is to change the background-color.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •