JavaScript DHTML/Javascript Objects/TextRectangle
"TextRectangle" Example
<source lang="html4strict">
<html> <head> <script language="JavaScript"> function function1(elem) {
var m = elem.getBoundingClientRect(); alert("Left: "+ m.left +"\nRight: "+ m.right +"\nTop: "+m.top+"\nBottom:"+m.bottom);
} /script> </head> <body>
Click here to display the TextRectangle properties
</body> </html>
</source>