bfjacobs, I'm still having problems. Using input.text doesn't work when I try to format my text fields, nor does input.checkbox, etc.
It seems the only things I can format (aside from using inline styles or placing a class name in each field) are:
textarea {background-color: #cccccc}
select {background-color: #cccccc}
input {background-color: #cccccc}
Again, the problem with this is that my checkboxes and radio buttons end up with this background color around them and I just want them to be white like the rest of the page. It seems that this:
input.text {background-color: #cccccc}
input.checkbox {background-color: #ffffff}
input.radio {background-color: #ffffff}
... doesn't work.
I originally thought that they did because when I added input.text {background-color: #cccccc} and input.checkbox {background-color: #ffffff), my checkboxes went back to white, but it was not because of my style specification for input.checkbox, but rather because when I added .text after input (as in input.text) it removed all formatting for all input fields (which made the checkboxes white like the page background which is what I wanted.) But I noticed that my regular text fields lost their formatting also, so it seems that I can't format checkbox and radio button fields independently of other input fields, unless I specify a class in each field or use inline styles for each occurence.
Has anyone else found this to be true, or am I doing something wrong? It seems like there should be a way.
Thanks for any suggestions.
It seems the only things I can format (aside from using inline styles or placing a class name in each field) are:
textarea {background-color: #cccccc}
select {background-color: #cccccc}
input {background-color: #cccccc}
Again, the problem with this is that my checkboxes and radio buttons end up with this background color around them and I just want them to be white like the rest of the page. It seems that this:
input.text {background-color: #cccccc}
input.checkbox {background-color: #ffffff}
input.radio {background-color: #ffffff}
... doesn't work.
I originally thought that they did because when I added input.text {background-color: #cccccc} and input.checkbox {background-color: #ffffff), my checkboxes went back to white, but it was not because of my style specification for input.checkbox, but rather because when I added .text after input (as in input.text) it removed all formatting for all input fields (which made the checkboxes white like the page background which is what I wanted.) But I noticed that my regular text fields lost their formatting also, so it seems that I can't format checkbox and radio button fields independently of other input fields, unless I specify a class in each field or use inline styles for each occurence.
Has anyone else found this to be true, or am I doing something wrong? It seems like there should be a way.
Thanks for any suggestions.