Styling a GWT Button with CSS

gwt

Solution

To avoid using GWT default style, I just use `!important` tag in my CSS file. You'll find here an example of doing so : Remove absolute position generated by GWT. Good luck!

Problem

I'm trying to apply css with GWT `Button` widget, however I can apply CSS gradient, the "embossed" style of the widget is still there. How can I remove that? My gwt application is inherting from this theme: ``` <inherits name='com.google.gwt.user.theme.clean.Clean'/> ``` Als have tried: ``` <inherits name='com.google.gwt.user.theme.standard.Standard'/> ``` I also have tried adding: ``` .gwt-Button {} ``` In the main css file that is loaded on the page however the embossed style is still there. Anyone knows how to remove the embossed style?

Original source