Most likely the problem is that AbsolutePanel does not have a default
css class, so you'd need to do this to make your solution work:

ap = new AbsolutePanel();
ap.setStyleName("gwt-AbsolutePanel");

Also, chocolate backgrounds are deprecated; use darkvanilla :-)

Walden

On Sep 4, 10:55 am, Chiara <[EMAIL PROTECTED]> wrote:
> I need change AbsolutePanel's background color.
> I tried wiht DecoratorPanel and is was worked but it didn't with
> AbsolitePanel.
>
> I wrote
>
> .gwt-AbsolutePanel {
>   background-color: chocolate;
>
> }
>
> in my .css file
>
> Any idea?
>
> thx
--~--~---------~--~----~------------~-------~--~----~
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