title: jQuery .css not applying on parent container
body: <p>I am trying to apply an inline css using below statement. </p>
  
  <pre><code>$('.WarningCount').parent().css('margin-left', '-1.4% !important;');
  </code></pre>
  
  <p>But it doesn't work, it doesn't get applied only. I cannot see this style in the Developer console. I had to override the entire style to make it work.</p>
  
  <pre><code>$('.WarningCount').parent().attr('style', 'margin-left:-1.4% !important;');
  </code></pre>
  
  <p>Any reason what could be the real issue here.</p>