title: setting div position using coordinates
body: <p>I'm having a web page(jsp) that included another jsp using</p>
  
  <pre><code>     &lt;%@jsp:include ... %&gt;
  </code></pre>
  
  <p>when i click on the second part (included page), getting the co-ordinates using</p>
  
  <pre><code>    window.event.clientX 
      window.event.clientY
  </code></pre>
  
  <p>and storing into x and y respectivel. Now i'm setting a div to visible at that mouse co-ordinates like,</p>
  
  <pre><code>    document.getElementById('division').style.top=x;
      document.getElementById('division').style.left=y;
  </code></pre>
  
  <p>as expected to display that div at the same spot where the mouse clicked. But the division is coming some where else..</p>
  
  <p>What is the reason for that??</p>