July,

"styleName" is the name of the CSS class. Because the UiBinder syntax of 
<g:HTML/> points to the GWT HTMLPanel class, the "class" keyword is 
replaced with "styleName" in this case. However, in UiBinder, if you are 
using native HTML tags, like <DIV>, then you would use the "class" 
attribute for the CSS class (like normal HTML).

So, put a class name from your project_entry.css in that *styleName* attribute 
and it should work.

Also make sure you have an entry in your .gwt.xml module file to bring in 
your CSS file (below), where the path is relative to the public/ folder in 
your project:

> <stylesheet src="project_entry .css"/>



Sincerely,
Joseph 

-- 
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/-/dfxe-Hjwz64J.
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