\r
public void setPosition(int position) {\r
final Element el = getElement();\r
- DOM.setStyleAttribute(el, "top", null);\r
- DOM.setStyleAttribute(el, "left", null);\r
- DOM.setStyleAttribute(el, "bottom", null);\r
- DOM.setStyleAttribute(el, "right", null);\r
+ DOM.setStyleAttribute(el, "top", "");\r
+ DOM.setStyleAttribute(el, "left", "");\r
+ DOM.setStyleAttribute(el, "bottom", "");\r
+ DOM.setStyleAttribute(el, "right", "");\r
switch (position) {\r
case TOP_LEFT:\r
DOM.setStyleAttribute(el, "top", "0px");\r
break;\r
case CENTERED_BOTTOM:\r
center();\r
- DOM.setStyleAttribute(el, "top", null);\r
+ DOM.setStyleAttribute(el, "top", "");\r
DOM.setStyleAttribute(el, "bottom", "0px");\r
break;\r
default:\r