« Return to the main article
Looks like another problem caused by the doctype declaration. Remove it and revert to your original document.body.clientHeight expression and all is ok.
Doctypes are nice to have but, in this case, they're breaking your code!
Jake
Looks like another problem caused by the doctype declaration. Remove it and revert to your original document.body.clientHeight expression and all is ok.
Doctypes are nice to have but, in this case, they're breaking your code!
Jake