title: jQuery check if element has a specific style property defined inline
body: <p>I need to check whether an element has a defined css property given to it, but I'm having some trouble using the jQuery.css() function.</p>
  
  <p>The property I'm looking for is width.</p>
  
  <p>If the element does not have a defined width and I try this:</p>
  
  <pre><code>if(base.$element.css('width') !== 'undefined')
  </code></pre>
  
  <p>I get the browser's computed width.</p>