title: Remove an empty style attribute
body: <p>Is it possible to remove only empty style attribute?</p>
  
  <p>For example if I add dynamically padding to an element:</p>
  
  <pre><code>$('div').css('padding', '10px');
  &lt;div style="padding:10px"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Then I remove it with jQuery like</p>
  
  <pre><code>$('div').css('padding', '');
  </code></pre>
  
  <p>Looking at the firebug I end up with </p>
  
  <pre><code>&lt;div style=""&gt;&lt;/div&gt;
  </code></pre>
  
  <p>What I would like to do is remove style attribute only if does not contain any inline style.</p>