Having trouble retrieving the css padding-left value using jQuery when the css is not inline. This issue seems to be specific to Internet Explorer (tested on versions 8 and 9).
I am looking to display this value like so:
alert($content.css("padding-left"));
The $content contains a <div> with a class defined in an external CSS file with a value for "padding-left". When I add the same directive inline within the "style" attribute, the value prints as expected.
One more thing... When inspecting the style of my div using developer tools, everything appears to be correct.
As a result of this issue, I've noticed that jQuery's outerWidth() method does not function correctly.
Anyone have a solution for retrieving the "padding-left" value from an external CSS? Or is this possibly a bug in jQuery that needs reporting and fixing?