> java.lang.AssertionError: The style name 'margin-top' should be in
> camelCase format
> at com.google.gwt.dom.client.Style$.assertCamelCase$(Style.java:63)
> at com.google.gwt.dom.client.Style$.setProperty$(Style.java:42)
> at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208)
When setting margin top in CSS, you use "margin-top", but when setting from javascript, you must use "marginTop". GWT is doing some sanity checking on your style names to make sure you're using the camel case version required for javascript.
In other words, you have a bug in your code: you should have specified "marginTop" in your code, and not "margin-top".
Paul