title: Setting top and left CSS attributes
body: <p>For some reason I'm unable to set the "top" and "left" CSS attributes using the following JavaScript.</p>
  
  <pre><code>var div = document.createElement('div');
  div.style.position = 'absolute';
  div.style.top = 200;
  div.style.left = 200;
  document.body.appendChild(div);
  </code></pre>
  
  <p>Using Firebug I can see that the <code>div</code> gets the <code>position</code> set to <code>"absolute"</code> but the <code>top</code> and <code>left</code> attributes are not set!</p>
  
  <p>This is for Firefox 3.6.</p>