Hello. There is such a problem. I create a class in javascript. There I use the construction of the form:
this.display = function() { var but = document.createElement('<div>'); but.width = this.width; but.height = this.height; but.style.top = this.top + "px"; ...
But in firefox, firebug gives an error: the type property style is undefined. In ie, it seems normal. Do not know what could be the reason?