Nathan Young -X (natyoung - Artizen at Cisco) schrieb:
> Hi.
>
>>> if (ElementInQuestion.style.fontSize == "13px"){whatever}
>> That will only work if font-size has been declared in the style
>> attribute of that element.
>
> My understanding is that if the element font-size is set to 13px, this
> will return true, no matter where the rule was declared (weather in
> included stylesheet, style element, or style attribute).
No, via element.style you simply access the element's style attribute,
e.g. what has been declared in there.
-- Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/