title: jquery set div width fails in IE7
body: <p>I have the following code and it works correctly in FF and IE8 but fails in IE 7 anyone have an idea or hack</p>
  
  <pre><code>    if ($("#midRight:contains('Quick Links')").length == 0) {
    $("#midCenter").css({'width':'298px'});
   }
  </code></pre>
  
  <p>html is basic</p>
  
  <pre><code>    &lt;div id="midRight"&gt;
  bunch of text
  &lt;/div&gt;
  </code></pre>
  
  <p>the starting css is </p>
  
  <pre><code>#midRight {width:440px;}
  </code></pre>
  
  <p>IE7's javascript error is "Object doesn't support this property or method.  BTW if I throw an alert in BEFORE the width change it works fine. If I move the alert to after the width change it never fires so at least I know that the conditional statement works right in IE7 just not the change of width.</p>