Hi,

Did you try something like:

Document.get().getBody().getStyle().setBackgroundColor(...);

Where Document is com.google.gwt.dom.client.Document.

Olivier

On 24 mar, 20:48, Shedokan <[email protected]> wrote:
> How can I do in GWT this:
> document.body.style.background = "red";
>
> I'm trying to change the background color of the body element without
> adding a special class to the body or any of that external css.
>
> Thanks.

-- 
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