Thanks for the reply! Do you mean this bit of code:
jQuery.each( [ "height", "width" ], function(i,n){ jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h.constructor == String ? h : h + "px" ); }; }); Got it from here: http://dev.jquery.com/browser/branches/1.2/src/jquery/jquery.js On Jan 10, 2:30 pm, Brandon Aaron <[EMAIL PROTECTED]> wrote: > The width and height methods are actually found in the core. If you > are able ... Try using the latest SVN version (jQuery 1.2.2 beta2). > There have been lots of improvements to the width/height methods. > > -- > Brandon Aaron > > On Jan 10, 11:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > This is a cross post from the UI mailing list -- I mistakenly put it > > there when it should have been here. Sorry about that! > > > I have a div that has a height of 80%, and this line: > > > $('.class:first').height() > > > works fine in firefox, but when I try to use it in IE7 it always > > returns 1. > > > Is there a known workaround for this?