object.width() returns 0
<p>I've got the following code:</p>

<pre><code>$("#text").css({width: $("#bobby_profiel_img").width()});   
$("#slider").css({width: $("#text").width()});
alert("slider: " + $("#slider").width());   
alert("text: " + $("#text").width());
</code></pre>

<p>both being called in <code>$(window).load(function() {}</code></p>

<p>But, slider: alerts 0, and text: alerts 960. I'm really stuck here. What am I doing wrong?</p>
