UIBinder HTMLPanel: set background color for entire browser window?
GWT 2.5.1, Eclipse 4.2 using GWT plugin (GPE).
I have a Main.ui.xml file thus:
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent ">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:style src='GWTtest.css' />
<g:HTMLPanel stylePrimaryName='{style.main}'>
<span class='{style.about}'>
placeholder text
</span>
</g:HTMLPanel>
</ui:UiBinder>
The "main" class selector in GWTtest.css specifies only a color -- the color I'd like the browser's page background to be. The page remains white, however. (The span element text renders in the CSS-specified color, so I know the underlying CSS mechanism is working.)
In addition to being new to GWT, I'm pretty shallow in HTML.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home