title: jQuery Error: Invalid object initializer
body: <p>I have the following code in my page: </p>
  
  <pre><code>&lt;div id="data_body_container" style="overflow: auto; width: 880px; height: 500px;"&gt;
  ...
  &lt;/div&gt;
  </code></pre>
  
  <p>and then below in the site:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          $(window).resize(function() {
                      var windowWidth = $(window).width() - 50;
                      var windowHeight = $(window).height() - 50;
  
              $('#data_body_container').css({'width': windowWidth+'px', 'height': windowHeight+'px','overflow:auto'});
  
         alert('Resize to '+ windowWidth + 'x'+windowHeight );
          })
  
      &lt;/script&gt;
  </code></pre>
  
  <p>But my Firefox error console says "invalid object initializer" and points to this line if click the entry. Where is the error? It seems right to me</p>