Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You want to determine the space occupied by an element.
The width and height methods can be applied to any element, and they are useful for determining the computed width or height of an element. However, they fall short if you need to determine the actual real estate that an element is occupying on the screen. In addition to width and height, jQuery provides the following methods for determining more specific dimensions of an element: