CSS included in the HTML will likely be loaded -before- CSS from the
GWT loader - hence the original posters dilemma/confusion. I put
"correct" in quotes
not as an absolute - just as a matter of convention, and relative
surety of loading order. CSS targeted at -your- GWT components style
classes should, IMO, only be included from the Module xml.

On Jul 6, 9:43 pm, Bradley <[email protected]> wrote:
> I agree that would it be easier to catch errors and be sure of the
> loading order but I don't think it is more "correct" to include the
> CSS file in the gwt.xml file.
>
> I am trying to incorporate a GWT application into a pre-existing non-
> GWT project.  I would rather not move the CSS from the pre-existing
> project into GWT and I also think a separation of the old CSS from the
> new, GWT centric CSS is a good thing.  The existing CSS covers the
> entire site, whereas GWT (and its CSS) is but a small part of that one
> site.
>
> On Jul 6, 5:20 pm, "Dean S. Jones" <[email protected]> wrote:
>
>
>
> > Is there a reason you need to include the CSS in the html file??
>
> > it would be more "correct" - easier to catch errors, and sure of
> > loading order - if you included the CSS file in your apps module
> > gwt.xml file
> > with a <stylesheet src="resources/Test.css"/>
>
> > GWT will copy the resources folder to the final output folder, and
> > load the CSS in a defined order.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to