> shouldn't css('height') return the height of an element? 
> It doesn't work anymore (Rev 226), but height() does.

.css("height") returns a string that is the actual value of the css height
property. That could be "auto", or "22em". 

.height() returns the number of pixels of height as a number. I *think* it's
the inside height, not counting padding, border, and margin (same region as
css height) but I could be wrong.

.height() will return 0 if any of the element's ancestors is hidden, but
there is some special code to return the "real" height if the element itself
is hidden and none of its ancestors is hidden.



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to