Is there any way to retrieve the text extent? I'm placing links into div tags and want to set the width of the div directly, I know this might be an issue as a user could size the text them selves as well.
I'm reading links from an XML file and making a row of links in the document with them. Each link will be placed in a div and then added to the links div. When onmouseover I want to pop up a menu of items to choose from but I need to know where to place that popup menu. Every time I have just added a div and allowed the content to determine the size of it I'm unable to get the size of it so that I can place other elements relative to it.