title: Html CheckBox : Change Color
body: <p>During the developing of an .NET application I have came across a problem.</p>
  
  <p>What I want to do, is to change the background color of a simple Html checkbox, so I have used the following HTML code:</p>
  
  <pre><code>&lt;input type="checkbox" id="check1" style="background-color: yellow" /&gt;
  </code></pre>
  
  <p>This code works only with OPERA, and not with other browsers (Chrome, Firefox, Explorer)</p>
  
  <p>So i have used also Javascript code:</p>
  
  <pre><code>document.getElementById("check1").style.backgroundColor = "yellow"
  </code></pre>
  
  <p>and JQuery sintax:</p>
  
  <pre><code>$("#check1").css("background-color", "yellow")
  </code></pre>
  
  <p>but the result is the same.</p>
  
  <p>This code works if I use an HTML TextBox.</p>
  
  <p>Can someone help me please ??</p>