[jQuery] Determining if an explicit width/height is set
I know this was asked before but I don't think it was answered.
Is there a way to determine if a width was applied to an element? I can get
the _current_ width via .css() or .curCSS and let's say it's 421px. I need
to know whether that came from a inline or stylesheet rule "width: 421px" or
that just happens to be the width of the parent. The inline part is easy,
just look at el.style.width. I am not sure how to tell if any stylesheet
rule applies though.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/