title: Javascript: Adding/Subtracting to 'top' attribute to elements?
body: <p>I am trying to add some pixels from an element on my page. This is so I can create a new element and place it above it.</p>
  
  <pre><code> posy = document.getElementById('user').style.top + 20;
  </code></pre>
  
  <p>But it is returning "50px20", I haven't tried subtracting it yet, but what should I do to prevent it from returning 'px' in it? </p>
  
  <p>Is there a way to do this in jQuery?</p>
  
  <p>Thanks,
  Alex.</p>