There are three ways to include css file.
1. you can add a link tag inside the <head> section of the host page
( you also need to create a file called your_Stylesheet.css in the
public directory ).
Ex:
<link type="text/css" rel="stylesheet" href="your_StyleSheet.css" />
2. you can include css on project.gwt.xml file.
Ex:
<stylesheet src='Your_StyleSheet.css' />
3. Using UI binder, specify the <ui:style> ... </ui:style>
Ex:
<ui:style>
.buttonSave {
float: left;
margin-top: 10px;
margin-left: 10px;
margin-bottom: 10px;
}
</ui:style>
S. Abraham
www.DataStoreGwt.com