On Wednesday, May 30, 2012 11:12:07 PM UTC+8, July wrote:
Thanks for the reply, this is what i do, however no effect.--it will generate html like:<div class="project_entry.css">...</div>but it will not apply the style from the file to the div element automatically.Do i have to style each class in the <div> one by one?
On Wednesday, May 30, 2012 9:44:20 PM UTC+8, Ashu wrote:try like this:
<ui:style src="project_entry.css" />
On Wed, May 30, 2012 at 6:55 PM, July <email@example.com> wrote:
> At client side my page contain a com.google.gwt.user.client.ui.
> HTML will contain a large number of <div> and each <div> is associated with
> its own style. all the styles are defined in another css file.
> My question is how to apply the style to the HTML content?
> i use
> <g:HTML ui:field="myfield" styleName="project_entry.css" />
> but it does not work.
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> To post to this group, send email to google-web-toolkit@
> To unsubscribe from this group, send email to
> For more options, visit this group at
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ABsa8wE3Ae4J.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.