The getBoundingClientRect MethodThe getBoundingClientRect method is an Internet Explorer method that returns a TextRectangle object that holds the rectangle that the object appears in, called its bounding rectangle . You can see the support for this method in Table 6.24. Table 6.24. The getBoundingClientRect Method
You can use the TextRectangle object's bottom , left , right , and top properties to get the actual bounding rectangle of an object. |