title: Changing background of a div using jquery
body: <p>I am using following code to change background color:</p>
  
  <pre><code>        $('.posts').animate({height: '100px', backgroundColor: '#0000FF'}, 2000);
          $('.posts a').animate({color: '#00FF00'}, 2000);
  </code></pre>
  
  <p>getting following error on firebug instead of previewing color change in page:</p>
  
  <pre><code>Expected color but found 'NaNpx'. Error in parsing value for 'background-color'. Declaration dropped.
  Expected color but found '#00FF00px'. Error in parsing value for 'color'. Declaration dropped.
  </code></pre>
  
  <p>What's the error with my code?</p>