Position images exactly using javascript
<p>I need to create dozens of small images and position them absolutely on the screen relative to the top and left of the screen. I have a page with one div on it and, at the moment, I am experimenting with creating each element using javascript. How can I position each element precisely?</p>

<pre><code>var divo = document.getElementById('pagediv');
var objImage = document.createElement('img');
objImage.setAttribute('src', 'images/Red_L.gif');
divo.appendChild(objImage);
</code></pre>

<p>That is creating the image okay and putting it on the screen. But how can you tell it exactly where to be positioned?</p>
