Hi,

I could use this: <ui:style field='otherStyle'
src="MyUiOtherStyle.css">

But the problem is that the css file is on another server...
We deploy the gwt app on an OC4J server, but the javascript is called
from another html page on another server...
And that html page has a link to a css file that my gwt app should use
to.

So is this possible?

kind regards

On Aug 6, 3:54 pm, spierce7 <[email protected]> wrote:
> I hope this helps:
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#He...
>
> Look at the Hello Stylish World Example. Good luck!
>
> On Aug 6, 9:38 am, Thomas Van Driessche
>
> <[email protected]> wrote:
> > Hi,
>
> > I have a question on using css in gwt.
>
> > I know you can give the <ui:style> component a src to a css file.
> > But what if you want to use the css that is linked in the html page
> > from which the javascript from the gwt project is called?
>
> > i tried this:
>
> > <g:Button addStyleNames="action" ui:field=btnSearch"></g:Button>
>
> > And in the css file from the host html page i have put:
>
> > .action {
> >    background-color: green;
>
> > }
>
> > Is this possible?
> > Because our javascript that was compiled is called from other html
> > pages to.
>
> > kind regards,
> > Thomas

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