Fixing GWT Styling
From Zanecorpwiki
GWT apps have the unfortunate "feature" of clobbering your style with their own because the GWT style gets inserted into the CSS scheme after your own, meaning it takes precedence. In order to get things to work sanely, you have to go in and change the default configuration to disable the automatic CSS inclusion and then manually include the CSS file at the right place.
In the 'gwt.xml' file, comment out the standard CSS inclusion:
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
and add in the following line:
<entry-point class='com.racetechs.gwt.widget.client.RegistrationWidgets'/>
Now, in your HTML file, include the standard.css file before your own:
<link rel="stylesheet" type="text/css" href="path_to/gwt/standard/standard.css" />
I'm not certain, but it may be necessary to deploy the application once with the original config in order to get the standard.css to generate. I don't think this is the case, but it may be. (TODO: figure this out.)


