I would like to be able to position a DIV (or SPAN, etc) on a specific element (by ID) or a specific anchor tag by name. For example, how would I position it on a span which has the following code: <span id="Bill"> Or alternately, position it at an anchor tag with a specific ID. Thank you for any help.
But how do I position a different element at the same location if I don't know the exact coordinates - e.g., if the target element is positioned automatically by the browser rather than being placed with absolute positioning? So if "Bill" is at coordinates X,Y, and I want to position a DIV at the same location, how do I obtain the coordinates for "Bill" ?
Though I have no idea of the situation, you might find it a lot easier to generate a new element (again with JS) which is a child of the one where you want it to appear, rather than trying to move something around the page.