Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modify Style from GWT

Tags:

I executed but only FF and chrome moves the textarea 0px from top and 0px from left but in IE textarea is in default position.

Here is my code:

public class MyGWT implements EntryPoint {

   TextArea ta= TextArea.wrap(DOM.getElementById("t"));

   public void onModuleLoad() {

     ta.getElement().setAttribute("style", "position:absolute;top:0px;left:0px;");
   }

}

is there any bug or how can i change style attribute programmatically from GWT ??