I am trying to style a checkbox using the following: <input type="checkbox" style="border:2px dotted #00f;display:block;background:#ff0000;" /> But the style is not applied. The checkbox still displays its default style. How do I give it the specified style?