TextArea textarea1 = TextArea.wrap(DOM.getElementById("t"));
In onModuleLoad() I wrote 2 lines given below:
textAreaStyle = "position:absolute;top:0px;";
textarea1.getElement().setAttribute("style", textAreaStyle);
In Firefox开发者_运维百科 and Chrome, the textarea is placed in absolute position and 0px from top, but in IE the textarea remains at its default position.
Is there a bug in my code?
精彩评论