jquery document height reported incorrectly by IE (on XP) first time

Posted by Zhami on Stack Overflow See other posts from Stack Overflow or by Zhami
Published on 2010-05-06T13:24:56Z Indexed on 2010/05/06 13:28 UTC
Read the original article Hit count: 189

Filed under:
|

I'm having a "first time" problem with IE, which reports a different value for $(document).height(); when the page first loads versus subsequent queries. The difference is 17 pixels regardless of the opening size of the window -- on document ready, the height reported is 17 pixels larger than is subsequently reported. I wonder if this is an artifact of some aspect of my page (some margins or paddings somewhere), but so far can't account for 17 pixels.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about internet-explorer