I have an element in GWT. I want it to float right. I have tried DOM.setStyleAttribute(element, "float", "right"); but is not working. I am not sure if I am using correct attribute (float). Do you have any idea?
I have an element in GWT. I want it to float right. I have
Share
The correct way to float is with “cssFloat” property:
“float” is a reserved keyword in javascript.