Hi John,

Does the application not freeze up if you don't include the style
sheet? It could just be a lot of DOM operations and not related to
CSS.

In terms of best practice, I guess the fewer CSS files you have, the
better. This way you avoid having to make numerous round trips to the
server to get linked style sheets. Also, check out CssResource in the
incubator which allows you to bundle CSS like ImageBundle bundles
images: 
http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=CssResource

Hope that helps.

--
Arthur Kalmenson



On Sat, Jan 17, 2009 at 11:55 AM, byhisdeeds <[email protected]> wrote:
>
> I have a GWT application where my one and only style sheet is 3000
> lines long. needless to say the application freezes up from time to
> time when rendering panels. Can some tell me whether I GWT has a best
> practise to deal with many styling statements, each of which belong to
> just a set of panels. Can I for instance load styles sheets only when
> the panels they refer to are being loaded, or is the best practise to
> keep style sheets small and broken into many small ones.
>
> John
> >
>

--~--~---------~--~----~------------~-------~--~----~
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