[Project_owners] help button checkbox

Eric H. Jung eric.jung at yahoo.com
Mon Mar 6 14:25:49 EST 2006


I have a button checkbox defined like this:

<button id="enabledBtn" type="checkbox" label="disabled" checked="false" accesskey="E" 

and CSS like this:

button[checked="true"] {
  color: red;
  font-weight: bold;

Two strange things are happening:
1. The CSS has effect only the opposite of what I defined; i.e., when checked=false and
2. Although the button checkbox is initially set to false, the text is not red/bold.

Anyone know what I might be doing wrong?

Eric Jung

More information about the Project_owners mailing list