Sets element size.
nullobj.setSize(width, height);
width (number) - element width in pixels
height (number) - element height in pixels
obj.setSize(300, 200);
The parameters for this method should be numeric values which are interpreted as pixels. This method does not allow using % or em values. For other units just call setStyle() method directly.
In 'standards-compliant' mode this method adjusts for control padding - 8px width and 4px height.
setPosition() method