size of text box

Hi,

is there a js method to calculate the size of a text box?
The scenario I have in mind: I want to render text in a speech bubble and of
cause the speach bubble size should be adjusted to the text.
(what I am looking for is something like the contentBox  in the dojo
framework).

regards,
Immanuel

Received on Tuesday, 23 February 2010 16:40:55 UTC