title: jQuery check if CSS width is greater than 0 then add CSS property
body: <p>I must be doing something wrong here. I want jQuery to check if the width of a CSS element is greater than 0 then add CSS property:</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(function(){
      $(".neo-P4EMilestonesMilestone").each(function() {
          $(this).css('width') !=0) {
              $(this).css("display", "block");
          });
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>The class element has a default width of 0:</p>
  
  <pre><code>&lt;div class="neo-P4EMilestonesMilestone" style="width:0"&gt;
  </code></pre>
  
  <p>I want jQuery to look into any .neo-P4EMilestonesMilestone classes and if the width IS NOT set to "0" then add "display:block". Like this:</p>
  
  <pre><code>&lt;div class="neo-P4EMilestonesMilestone" style="width:10%;display:block;"&gt;
  </code></pre>