I hope this helps:

http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Hello_Stylish_World

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