1.

How you can attach a CSS file with your GWT module?

Answer»

There are multiple approaches for associating CSS files with your module. Modern GWT applications typically use a combination of CssResource and UiBinder.

  • Using a <link> tag in the host HTML page.

  • Using the <stylesheet> element in the module XML file.

  • Using a CssResource contained within a ClientBundle.

  • Using an inline <ui:style> element in a UiBinder template.



Discussion

No Comment Found