title: Setting CSS position using Javascript
body: <p>How to set <code>relative 50% 50%</code> position using JS?</p>
  
  <p>I tried:</p>
  
  <pre><code>document.getElementById("id").style.position = "relative 50% 50%";
  </code></pre>
  
  <p>but it don't seems to work...</p>