I am having trouble positioning this div. I want it to show up as a tool tip just right of the input, select or button. But it is staying in one spot on the screen. At least the vertical scroll is being taken into account as planned. That is as the user scrolls down the screen the prompt box moves down accordingly. Actually that doesn't need to be there at all. If I am keying off of the input or whatever I just want to set the div near by.

Code:
	function doPrompt(which)
	{
		var ln=document.getElementById("promptLine");
		var bx=document.getElementById("promptBox");
		bx.style.pixelLeft=which.style.pixelRight - document.body.scrollLeft;
		bx.style.pixelTop=which.style.pixelTop + document.body.scrollTop;
		ln.innerText=promptArray[which.id];
		bx.style.visibility="visible";
	}

	function unPrompt()
	{
              	var bx=document.getElementById("promptBox");
		bx.style.visibility="hidden";
	}


        	<div id="promptBox" style="visibility:hidden;position:absolute;">
        		<table id="promptLocation" >
        			<tr>
        				<td id="promptLine" width="100%" class="CellNormal">Prompt goes here.</td>
        			</tr>
        		</table>
        	</div>
The onMouseOver Fires the function and passes an integer.
I appreciate your help on this.

Sure appreciate your help.