Did you try putting a DOT before your CSS code .body { background-color: #FFFFD2; }
If you want to set this to a panel then use panel.setStylePrimaryName("body"); Also check whether you have included the name of your CSS file in html file Compile and re-run your app Best -Ankit On Jul 26, 4:15 pm, Jeff Chimene <jchim...@gmail.com> wrote: > On 07/26/2011 01:12 PM, Robert Lockwood wrote: > > > > > > > I'm really new at all this but really frustrated in that I cannot change > > the page background color in the GWT example MyWebApp that demonstrates > > Asynch. > > > I put this in the CSS file, both as the first item and then as the last. > > (Tried other things as well.) > > > body { > > background-color: #FFFFD2; > > } > > > Occasionally when the page loads it quickly blinks the color but always > > displays a white background. Why is this happening? > > > I'm using Eclipse Helios on Ubuntu. > > Maybe use Firebug to display to CSS that's in effect.- Hide quoted text - > > - Show quoted text - -- 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-toolkit@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.