jquery real-time margin update
<p>In jquery, How do I set the margin-left of an object via a formula.</p>

<pre><code>if browser-width &lt; 2000 {
    (abs(browser width - 2000))/2
}
</code></pre>

<p>I have a background slider that I want to always be centered, and right now its left aligned.</p>
