Placing a Div on top of ASP.NET GridView using Javascript
<p>I am currently working on an ASP.net c# project. I am trying to move a div container to be placed on top of an ASP grid view. </p>

<p>If I set in the style sheet top: 100px; it places the div over the top of the grid view which I want. However, the position needs to be done using Javascript. I use the following code to position the div.</p>

<pre><code>var obj = document.getElementById("software_" + id);
obj.style.top = "80px";
</code></pre>

<p>If I use the following code it doesn't place the div in the same place that the stylesheet places it, it jumps to underneath the grid view, as if in java script its trying to avoid containers overlapping.</p>

<p>How can I fix this problem so that the Javascript can place the div over the top like the stylesheet is able to. </p>
