If you don't use an absolute path the css file should be located in the
same folder as your compiled GWT app, e.g. war/<modulename>/mycss.css.
To make it more simple you can create a folder called "public" next to your
module.gwt.xml and place the mycss.css file in that public folder. Now when
you compile your app everything in the public folder will be copied to
war/<modulename>.
com.example
public
-> mycss.css
client
shared
App.gwt.xml (with <stylesheet src='mycss.css'/>)
As you are building a mobile app you should take a look at GWT's
ClientBundle feature. It allows you to minimize the server requests made
during app startup by embedding all your resources (css, images, texts,
...) into your JavaScript code.
-- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.