This is reaaly annoying, ,but I'm trying to implement scrolling behavior in a web app and I'm getting that object.style.left etc always returns "Undefined," even when set in CSS file!
Ok, if I set the left or top property inline such as, "style=left:2; top:4" it works and object.style.left properly returns 2px, but if set in an external CSS it doesnt work.
Any clue to why this is??
Ok, if I set the left or top property inline such as, "style=left:2; top:4" it works and object.style.left properly returns 2px, but if set in an external CSS it doesnt work.
Any clue to why this is??