Scriptor, I think that you are probably looking, maybe something in JavaScript is more than Ruby or Python. I mean that the positions and sizes will essentially be determined by the rendering engine (browser). You can use something like jQuery to scroll through all your desired objects - display the name of the object (for example, the DIV identifier) and the height and width of this element. So, for what it's worth, I would look at jQuery if I were in your position and the methods of height () and width (). You never know - there may already be a jQuery plugin.
source
share