Forum Moderators: open
How does one query any style attribute of an object using JavaScript?
How do i query width? height? visibility?
I try things you would expect,
such as
var query = obj.style.height;
but that doesn't work, or only does sometimes, or only in some browsers, and so on.
Any help would make me do a little dance ;)