or you put RootPanel.get().setStyleName("body"); in your onModuleLoad() function and use .body { background-color: #000000; } in your css file :)
On 9 Jun., 09:20, lml <lalumlonl...@gmail.com> wrote: > Dear all, > > how can set the body of html page color in gwt. > > I gave body bg color ,its working fine firstly.But when the entry > point class loads, the bg color will disappear from the page. > > How can set bg color permanantly in gwt html page?. > > Regards, > > Lal --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---