Using the ".body" had no effect.

Where does "panel.setStylePrimaryName("body");" go?  In the CSS file?

Thanks,
Nate

On Tue, Jul 26, 2011 at 1:38 PM, Anky <[email protected]> wrote:

> 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 <[email protected]> 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 [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.
>
>


-- 
When I was 12 I thought I would live forever.
So far, so good.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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