After doing some testing, it doesn't looks like this works as expected. It appears that after adding:
<ui:style src="mycss.css"/> that the CSS in that stylesheet appears in ALL pages, even though the above line only appears in on view's UIBinder code. On Oct 18, 12:53 pm, Mike Dee <[email protected]> wrote: > Upon a little more investigation (ie. actually reading some > documentation) this can be done with UIBinder, but I still need a > little help. > > With UIBinder a stylesheet can be included easily, like this: > > <ui:style src="client-specific.css" /> > > That works out nicely, especially since I'm already using UIBinder. > > However, the path is a little problematic. The above example works > because I put the CSS in the same directory as the view class and its > ui.xml. How can I put the CSS file in the directory with the web > pages (war)? > > On Oct 18, 12:37 pm, Mike Dee <[email protected]> wrote: > > > > > > > > > How can a stylesheet be applied for one page - not an entire module? > > Our app runs fine with a single stylesheet, but for a couple of pages > > a client specified look and feel (with CSS) are needed. I'd like to > > apply (add) an additional stylesheet to just those. How can that be > > done? > > > Thanks, > > Mike -- 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.
