use documentElement.offsetHeight