Right. ui:style src looks for local CSS files relative to the .ui.xml
file. I think you have 2 options:

1. Load the font on the host page.
2. Add a stylesheet to your GWT module that includes this line:

    @import url(http://fonts.googleapis.com/css?family=Lobster);

As described in the "Advanced techniques" section at:

    http://code.google.com/webfonts/family?family=Lobster#code

-Brian

On Jul 24, 4:46 am, asianCoolz <second.co...@gmail.com> wrote:
> i cant use   <ui:style src="http://fonts.googleapis.com/css?
> family=Lobster"/> in eclipse, as it prompt for error

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to