or you put
RootPanel.get().setStyleName(body);
in your onModuleLoad() function and use
.body { background-color: #00; }
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
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
GWT 1.6 added some style injection. In your EntryPoint.gwt.xml you
will find this line: inherits
name='com.google.gwt.user.theme.standard.Standard'/. Just comment it
out.
On Jun 9, 3:20 am, lml lalumlonl...@gmail.com wrote:
Dear all,
how can set the body of html page color in gwt.
I gave