Some documents I can't get the height of the document (to position something absolutely at the very bottom). Additionally, a padding-bottom on seems to do nothing on these pages, but do on the pages where height will return. Case(s) in point:
http://fandango.com
http://paperbackswap.com
On Fandango
jQuery's $(document).height();
returns correct valuedocument.height
returns 0document.body.scrollHeight
returns 0
On Paperback Swap:
jQuery's $(document).height();
TypeError: $(document)
is nulldocument.height
returns an incorrect valuedocument.body.scrollHeight
returns an incorrect value
Note: I have browser level permissions, if there is some trick there.