Bug with .css()

Bug with .css()

Hi there,

has anyone else had this problem?

Basically after using $('#myEl').css( { 'top' : someValue + 'px' } );
And then using alert( someValue + '!=' + $('#myEl').position.top ), the 2 values are not the same.

I've tried just increasing the value of "someValue" to fudge the required "top" value, but that doesn't get me where I want either...and it's not really a fix.

I'd really appreciate any ideas anyone has...or a fix would be even better! ;)

Thanks.