On 12/8/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
> Brandon,
>
> How do you determine the value from the stylesheet?  I'm trying to
> detect if an element has been given a fixed-height.  When I set the
> height via css stylesheet I see style.height == "" when I test it
> later.

The style object is only for styles inline and those set via
JavaScript. jQuery.css() method will give you the value from the
stylesheet except that it manually computes the 'height' and 'width'
instead of giving you what is in the stylesheet.

--
Brandon Aaron

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to