开发者

Absolute positioning of a GWT TextArea in IE?

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜