i want to change inner background color of Checkbox i mean the white square i searched too much but the most of the article simply said create the div and change the background color of div but this method doesn't change the white square.
Asked
Active
Viewed 1,463 times
0
-
possible duplicate of [How to style checkbox using CSS?](http://stackoverflow.com/questions/4148499/how-to-style-checkbox-using-css) – Josh Crozier Oct 23 '13 at 19:46
-
Check out a similar question for a possible solution. Hope this helps! http://stackoverflow.com/questions/1986608/css-styling-checkboxes – usernolongerregistered Oct 23 '13 at 19:49
3 Answers
2
Checkboxes (also radio and select) are not like other HTML elements. They're tied closely to the standard controls that are part of the operating system. You don't have much control over how they are rendered.
There are JavaScript-based alternatives (and even some clever CSS hacks that use overlays) but the controls themselves cannot be styled the way you want.

Diodeus - James MacFarlane
- 112,730
- 33
- 157
- 176
0
Most browsers use the native checkbox style of the underlying operating system. I would use HTML/CSS/JS to create a custom checkbox, that you can style however you want.

Hein Andre Grønnestad
- 6,885
- 2
- 31
- 43