what class and attributes are you changing. do you change it via a custom css?
I've tried a4j:commandButton and h:commandButton. I do have a custom css. I've tried using classes and ids. I've tried setting background-color and background-image: none. All has been ineffective. When I set headerBackgroundColor in my custom RichFaces style, that the only way I can find to change the button's color.
in your css use this
and in h:commandButton or a4j:commandButton apply the class, styleClass="anExample"
so, all button with this class css will work
it must works fine, because i use this yesterday
The input[type="button"] did the trick.