Control placement of DHTML window using position:relative


I am using a DHTML popup window script from
on a form.

A link exists on every line that will popup the window. I am trying to popup the window next to a particular form text field, but it doesn't seem straightforward. The window should top align and right justify as follows

WINDOW Text Box Link to popup window

Any ideas?
Who is Participating?
Use CSS to set the position of the text bo.  If you set the box like this:

style="position:absolute; top:100px; left:100px;"

Then set your window popup to coordinates offset to the box and everything should line up.
BrentNJAuthor Commented:
I don't think that I want to use set position on the text box since it could change depending on font settings on the users computer.

How would I specify to line up the popup next to the text box?

There is a position line in the script, but I'm not sure how to change it properly.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.