Solved

How to change check box color

Posted on 2015-01-06
2
109 Views
Last Modified: 2015-01-19
Hi

I am using
<input type="checkbox" >Sathish

normal html checkbox coming as gray i want to change some other color how to make it ??
0
Comment
2 Comments
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40533514
as PP suggested, this cannot be done with straight CSS. I did come across the jsFiddle below that allows styling using javascript/jquery. I think that may be your best bet.

http://jsfiddle.net/D8daE/1/

however, you may be able to put the checkbox in a div and style the background to what you want
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

679 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