Fastest way to set a css property?
<p>I'm busy creating a resizer, but on reloading it first switches from 100% until loading the cookie and setting the width to something fixed:</p>

<pre><code>//set width from cookie, unfortunately we need todo this on docready because #main-container is not done rendering -_-
var width = $.cookie("width");
// Set the user's selection for the left column
if (width != null) {
    if (width == "fluid") {
        alert("fluid!");
        $('#main-container').addClass('width-fluid');
    } else {
        $('#main-container').addClass('width-fixed');
    }
} else {
    $('#main-container').addClass('width-fixed');
};
</code></pre>

<p>Any ideas?</p>

<p>Thanks,</p>

<p>Dennis</p>
