html: <div id="div1">Hello</div>

JavaScript: $(function() {
   alert($('#div1').css('height') + ' ' + $('#div1').height() + ' ' +
$.css($('#div1')[0], 'height'));
});

The result is as follows

Firefox:      19px 19 19
Opera:       19px 19 19
IE:             auto 19 19

Why is $(ele).css('height') in IE different? Is this a bug or by design?
--
Arrix
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to