Changing Button color

Hello

Is there an easy way to change button’s color in a form using type “button” ?

Thank you
Olsi

Unfortunately the only solution is to use the custom skin or the customization using the css. IN both ways it will be applied to all the buttons in your dhtmlxForm.

I tried to override with CSS but it does not seem to see my CSS ?? Thoughts?

.dhxform_obj_material div.dhxform_btn div.dhxform_btn_filler { background-color: #294069 !important; color: #fff !important; border-radius: 5px; }

Found it after a little digging in Firebug to locate the right tag to override…

.dhxform_obj_material div.dhxform_btn div.dhxform_btn_txt.dhxform_btn_txt_autowidth { background-color: #294069; color: #fff; border-radius: 5px; }

Great :slight_smile:

Thank you for your help